Navigation:  Reference > Functions >

Ceiling()

Print this Topic Previous pageReturn to chapter overviewNext page

 

CEIL(1)

 

PURPOSE

This function returns a whole number that is the closest value equal to or greater than the field value specified.

 

PARTS

 

1 f/c/eRequired - Must be N type field.

 

RETURN TYPE - N

 

SEE ALSO

FLOOR()

 

EXAMPLE

x = ceil(-2.935)

// x now contains the value: -2.000

// Don't forget, -2 is > -2.935

x = ceil(2.935)

// x = 3.000

 

 


Page url: http://www.cassoftware.com/tas/manual/cieling().htm