Try:
<cfset var.number = x * y>
Round(var.number) -> Rounds a number to the closest integer
Ceiling(var.number) -> Returns the closest integer greater than a given
number
Int(var.number) -> Returns the closest integer smaller than a number
Duane Boudreau,
Project/Beta Manager, eMPower
Director, Web Technologies
Ektron, Inc.
http://www.ektron.com
5 Northern Blvd, Suite 6
Amherst, NH 03031
Tel: 603-594-0249
Fax: 603-594-0258
> -----Original Message-----
> From: Stewart McGowan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 06, 2000 12:42 PM
> To: '[EMAIL PROTECTED]'
> Subject: Rounding of numbers
>
>
> Sorry for the noddy nature of the question but its 5.30 i've had
> a tooth out
> today and i'm getting no sympathy :)
>
> how do i round a number i've got as a result of a piece of arithmatic?
> Thanks as always
>
> Stew
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.