Are you displaying this value using the usermsg command? If you, you'll need to add the appropriate format specifier to get the format you want. For example, if I do the atof conversion and then just do a usermsg "%f" floatvar, I get 0.00. However, if I replace %f with %g, I get 0.00033. If you look at the help topic titled Formatting Text and Data, you can see the various format types that can be used when outputting data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.