Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Request code
Message
From
15/09/2008 01:24:49
 
 
To
15/09/2008 01:01:20
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01347514
Message ID:
01347516
Views:
20
>I have create a form I have placed four text boxes namely 1.txtfirst 2.txtsecond 3. txtthree 4..txttotal. I want txttotal value rounded up next to 10.
>
>Let assume the txttotal value is 8362 I want rounded to 8370.
>
>How to write code?

m.RoundedUp = ( CEILING( txtTotal / 10 ) ) * 10
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform