#int(var + 0.9999999999999)#


OR


#int(var + 0.5)# if you want usual mathematical rounding.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-----Original Message-----
From: Kristopher Pilles [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 12:24 PM
To: CF-Talk
Subject: Number rounding

Can someone tell me how to take a variable and make it round up to the
next whole number?

Kristopher Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]
<<Kristopher Pilles.vcf>>
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to