Posted by: Karthik
Main problem is
1)I dont know the number of decimal places
2)I cant put an arbitary number in the number of decimal places.
That is 12.1222 should be converted to 12.1222 in string format. I dont
want a value like 12.12220000 although both of them are mathematically equal
I know that we can convert 12.1222 to a string value like 12.122200000
using SalNumberToStr and then take off the zeros in the end. But thats
slow and not very efficient.
In short, is there a SalNumberToStr where we dont have to specify the
number of decimal places?. Unless my brain is out for lunch (Very much
possible), there is no easy way to do it.
I never really understood the purpose of the decimal character in
SalNumberToStrX. Also, is there an easy way to find the number of
decimal places in a number?
Let me know what you think is fastest, even if it takes 2-3 lines of Code.
Regards
Karthik