User Tools

Site Tools


en:int

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:int [2016/08/12 11:51]
admin
en:int [2016/08/13 07:35] (current)
admin
Line 7: Line 7:
 ==== Description ==== ==== Description ====
 Convert [[expressions|expression]] to an integer (whole) number. Int will convert a string or a float to an integer value. If the expression can not be converted then a zero will be returned. Convert [[expressions|expression]] to an integer (whole) number. Int will convert a string or a float to an integer value. If the expression can not be converted then a zero will be returned.
 +
 +^Value^int()^ceil()^floor()^
 +|-4.56|-4|-4|-5|
 +|-0.56|0|0|-1|
 +|0.56|0|1|0|
 +|5.56|5|6|5|
  
 ==== See Also ==== ==== See Also ====
 {{page>​en:​start#​Mathematics&​noheader}} {{page>​en:​start#​Mathematics&​noheader}}
  
en/int.txt ยท Last modified: 2016/08/13 07:35 by admin