Difference between revisions of "Manuals/calci/INT"
Jump to navigation
Jump to search
(→ZOS) |
|||
Line 16: | Line 16: | ||
*The syntax is to calculate INT function in ZOS is <math>INT(Number)</math>. | *The syntax is to calculate INT function in ZOS is <math>INT(Number)</math>. | ||
**<math>Number</math> is any real number. | **<math>Number</math> is any real number. | ||
− | *For e.g., | + | *For e.g.,INT(-10.5),INT((-19.25*11.21)/4) |
{{#ev:youtube|EVF31NEtqCM|280|center|Integer}} | {{#ev:youtube|EVF31NEtqCM|280|center|Integer}} | ||
Latest revision as of 04:29, 8 June 2020
INT(Number)
- is any real number.
- INT() rounds a number down to the nearest integer.
Description
- This function gives number without any decimal part.
- The function INT(Number) is rounding the given number to down to the nearest number.
- Integer is the number without any decimal or fractional part but it can be the natural number with positive or negative sign. i.e.,INTEGER={….-3,-2,-1,0,1,2,3...}
- So integers are countably infinite set.
- In , where is any real number.Also can be any operations with the real numbers.
- For e.g.,INT(2.3*4.7)
- This function will give result as error when is non numeric.
ZOS
- The syntax is to calculate INT function in ZOS is .
- is any real number.
- For e.g.,INT(-10.5),INT((-19.25*11.21)/4)
Examples
- INT(10.99)=10
- INT(-10.99)=-11
- INT(0.05)=0,INT(-0.05)=-1
- INT(4.56+7.21)=11
- INT(10.78-9.45)=1
- INT(12.76*12.76)=162
- INT(49.54/20.4)=2
- 20.76-INT(19.45)=1.7600000000000016
Related Videos
See Also
References