Navigation:  Reference > Functions >

Floor()

Print this Topic Previous pageReturn to chapter overviewNext page

 

FLOOR(1)

 

PURPOSE

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

 

PARTS

 

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

 

RETURN TYPE - N

 

SEE ALSO

CEIL()

 

EXAMPLE

define x type n size 10 dec 3

x = floor(-2.935)

// x would contain the value: -3.000

// Don't forget, -3 is < -2.935

 

x = floor(2.935)

// x = 2.000

 

 


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