Difference between revisions of "FLOOR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the largest integer that is less than or equal to a given number | Function to return the largest integer that is less than or equal to a given number | ||
− | |||
==Syntax== | ==Syntax== | ||
FLOOR(<expN>) | FLOOR(<expN>) | ||
− | |||
==See Also== | ==See Also== | ||
[[CEILING()]], [[ISDIGIT()]], [[SIGN()]] | [[CEILING()]], [[ISDIGIT()]], [[SIGN()]] | ||
− | |||
==Description== | ==Description== | ||
The FLOOR() function is used to return the largest integer that is less than or equal to <expN>. | The FLOOR() function is used to return the largest integer that is less than or equal to <expN>. | ||
− | |||
==Example== | ==Example== | ||
Line 25: | Line 21: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Numeric Data]] | [[Category:Numeric Data]] | ||
[[Category:Numeric Data Functions]] | [[Category:Numeric Data Functions]] |
Revision as of 11:50, 7 December 2012
Contents
Purpose
Function to return the largest integer that is less than or equal to a given number
Syntax
FLOOR(<expN>)
See Also
Description
The FLOOR() function is used to return the largest integer that is less than or equal to <expN>.
Example
? floor(354.89) 354 ? floor(354.19) 354 ? floor(-354.89) -355