wongwanchap
03-03-2009, 10:41 AM
I use the code below:
Number a=1;
Text.String=toString(Math.floor(a));
Here "Text" is the object name of 3D text.
And the output is 1.0
I have already floor it, why the decimal still there?
How can I omit decimal, to get the output as 1 not 1.0?
Number a=1;
Text.String=toString(Math.floor(a));
Here "Text" is the object name of 3D text.
And the output is 1.0
I have already floor it, why the decimal still there?
How can I omit decimal, to get the output as 1 not 1.0?