Difference between revisions of "Ceiling"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:Math_Functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
+
 
 +
==== ceiling ====
  
====ceiling====
+
Gets the ceiling numeric value of an number expression.
  
Gets the ceiling numeric value of an number expression.
+
'''Syntax'''
  
'''Syntax'''
+
ceiling(''exp'')
  
ceiling(''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 = ceiling(5.5); ''
  
number a = ceiling(5.5);
+
''print(a); ''
  
print(a);
+
''//a = 6 ''
  
//a = 6
+
'''Availability'''
  
'''Availability'''
+
Version 4.8 __NOTOC__ <!-- imported from file: 566.htm-->
  
Version 4.8
+
[[Category:Math_Functions]]
__NOTOC__
 
<!-- imported from file: 566.htm-->
 

Latest revision as of 08:12, 22 December 2011



ceiling

Gets the ceiling numeric value of an number expression.

Syntax

ceiling(exp)

Arguments

exp: Is an expression of number type

Return type

number

Examples

number a = ceiling(5.5);

print(a);

//a = 6

Availability

Version 4.8