Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Geting the decimal part of a number
Message
From
04/09/2004 12:32:54
 
 
To
04/09/2004 12:00:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00939304
Message ID:
00939464
Views:
21
>>>I'm trying to find a function in VFP8 that will return the decimal part of a number. eg 89.55 Should return 55
>>
>>Try this.
>>
>>val(GetWordNum( translate( 89.55 ),2,'.'))
>TRANSLATE does that turn it int Spanish <s>?
>I think you mean transform
>Peter
>
>
>>
>>but it will only work in VFP 7.0 or greater. For VFP 6.0, you need to use the WordNum() in Foxtools.fll instead of GetWordNum().

I saw that as soon as I hit the send button.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform