Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 201 Posts 72 Joined 2005-11-20 20:57 20-year member UID 45624
Status Offline
Integer operations are okay, but decimal point operations are not. For example:
set /a BB=9*0.6 displays 0, and methods like set /a BB=9*(0.6) don't work either.
I searched the forum and didn't find related issues. Please give your advice!
Credits 845 Posts 375 Joined 2007-03-03 01:58 19-year member UID 80606 Gender Male
Status Offline
If it's VBS, it's too simple. It's just that the output format has some problems when the number of digits is too long. I don't know how to get rid of that scientific notation.