Difference between revisions of "Floor"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
{{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
+
Version 4.8 __NOTOC__ <!-- imported from file: 567.htm-->  
__NOTOC__
+
 
<!-- imported from file: 567.htm-->
+
[[Category:Math_Functions]]

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