Difference between revisions of "Floor"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:Math_Functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
+
 
 +
==== floor ====
  
====floor====
+
Gets the floor numeric value of an number expression.
  
Gets the floor numeric value of an number expression.
+
'''Syntax'''
  
'''Syntax'''
+
floor(''exp'')
  
floor(''exp'')
+
'''Arguments'''  
  
'''Arguments'''
+
''exp'': Is an expression of ''number'' type
  
''exp'': Is an expression of ''number'' type
+
'''Return type'''  
  
'''Return type'''
+
number
  
number
+
'''Examples'''
  
'''Examples'''
+
''number a = floor(5.5); ''''
  
number a = floor(5.5);
+
''print(a); ''
  
print(a);
+
''//a = 5 ''
  
//a = 5
+
'''Availability'''
  
'''Availability'''
+
Version 4.8 __NOTOC__ <!-- imported from file: 567.htm-->
  
Version 4.8
+
[[Category:Math_Functions]]
__NOTOC__
 
<!-- imported from file: 567.htm-->
 

Latest revision as of 08: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