Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric divison
Message
 
To
15/10/2005 04:01:09
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059400
Message ID:
01059402
Views:
11
>Dear Experts
>
>nval1=342.36548
>
>I want to divide it into two parts as
>Int part will be first part
>Two digists after decimal will be the second part
>
>For example
>nval2=342
>nval3=36
>
>Please help
nval1=342.36548
nval2=INT(342)
nval3=INT((nval1-nval2)*100)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform