Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quiz on Programming
Message
From
01/04/1998 19:25:48
 
 
To
31/03/1998 22:26:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00088587
Message ID:
00088840
Views:
30
>If you can't use Int(), Round(), Floor(), Ceiling() or
>any similar function to cut off integer.
>
>cAn you write a function equiv. to Round()?
>Of cos, You can use / and % (mod) ^_^;

Almost cheating, its so easy:

func round
lparam innum
outnum = val(str(innum))
return outnum
endfunc
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform