Difference between revisions of "Manuals/calci/INT"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | =INT(number | + | <div style="font-size:30px">'''INT(n), where n is the real number'''</div><br/> |
− | + | *<math>n</math> is the real number | |
− | * | ||
− | |||
− | |||
== Description == | == Description == | ||
− | + | *This function gives number without any decimal part. | |
− | + | *The function INT(n) is rounding the given number to down to the nearest number. | |
− | INT() | + | *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 INT(n), where <math> n </math> is the real number.Also <math> n </math> any operations with the real numbers. | |
− | + | *For e.g.,INT(2.3*4.7) | |
− | + | *This function will give result as error when n is nonnumeric. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==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.76 | ||
== See Also == | == See Also == |
Revision as of 23:12, 18 December 2013
INT(n), where n is the real number
- is the real number
Description
- This function gives number without any decimal part.
- The function INT(n) 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 INT(n), where is the real number.Also any operations with the real numbers.
- For e.g.,INT(2.3*4.7)
- This function will give result as error when n is nonnumeric.
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.76