Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal Places
Message
From
20/12/1999 10:17:33
 
 
To
20/12/1999 09:45:47
Amit Abhangrao
Charmi Software Exports
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00306105
Message ID:
00306123
Views:
32
Try this:
len(substr(allt(padr(130.9898,20)), at(".", allt(padr(130.9898,20)) )+1 ) )

substitute your variable in place of the number in the expression above. The function "PADR() or PADL() or PADC()" converts the number as is rather than rounding or truncating like STR() does.

I hope this works.

Regards

Leonard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform