dim h
h=1
h=h/2
msgbox(h)Very strange, it shows .5 instead of 0.5
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!
dim h
h=1
h=h/2
msgbox(h)dim h
h=1
h=h/2
msgbox("0"&h)| Rater | Score | Time |
|---|---|---|
| jmz573515 | +3 | 2008-05-14 08:09 |
dim h
h=1
h=h/2
msgbox(0&h)Originally posted by jmz573515 at 2008-5-14 08:10 AM:
msgbox FormatNumber(1/2,1,-1)