More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{HelpFiles}} | |||
{{HelpFiles}} | |||
==== floor ==== | |||
Gets the floor numeric value of an number expression. | |||
'''Syntax''' | |||
'' | floor(''exp'') | ||
'''Arguments''' | |||
''' | ''exp'': Is an expression of ''number'' type | ||
'' | '''Return type''' | ||
number | |||
'''Examples''' | |||
''' | ''number a = floor(5.5); '''' | ||
''print(a); '' | |||
''//a = 5 '' | |||
'''Availability''' | |||
Version 4.8 __NOTOC__ <!-- imported from file: 567.htm--> | |||
[[Category:Math_Functions]] | |||
Latest revision as of 07:18, 22 December 2011
floor
Gets the floor numeric value of an number expression.
Syntax
floor(exp)
Arguments
exp: Is an expression of number type
Return type
number
Examples
number a = floor(5.5); ''
print(a);
//a = 5
Availability
Version 4.8