I'm using transform to convert a decimal number into a string so I can print it into a messagebox.
num = 4.461
nums = transform(num,[999.999])
when I print nums I get 4.460 this happens on any number with 3 decimal places or more.
I'm using VFP 8.0, bu I've tested this wit FP 2.0 and it does the samething. Does anybody know of another way to convert this? The only thing I can think to do is use a substr() to get the end part of the number then convert them seperately then add the strings together.
-Serincino
num = 4.461
nums = transform(num,[999.999])
when I print nums I get 4.460 this happens on any number with 3 decimal places or more.
I'm using VFP 8.0, bu I've tested this wit FP 2.0 and it does the samething. Does anybody know of another way to convert this? The only thing I can think to do is use a substr() to get the end part of the number then convert them seperately then add the strings together.
-Serincino