| Line 1: |
Line 1: |
| − | <div style="font-size:30px">'''INT(number)'''</div><br/> | + | <div style="font-size:30px">'''INT(Number)'''</div><br/> |
| − | *<math>number</math> is any real number. | + | *<math>Number</math> is any real number. |
| | + | *INT() rounds a number down to the nearest integer. |
| | | | |
| | == Description == | | == Description == |
| | | | |
| | *This function gives number without any decimal part. | | *This function gives number without any decimal part. |
| − | *The function INT(number) is rounding the given number to down to the nearest number. | + | *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...} | | *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. | | *So integers are countably infinite set. |
| − | *In <math>INT(number)</math>, where <math> number </math> is any real number.Also <math> number </math> can be any operations with the real numbers. | + | *In <math>INT(Number)</math>, where <math> Number </math> is any real number.Also <math> Number </math> can be any operations with the real numbers. |
| | *For e.g.,INT(2.3*4.7) | | *For e.g.,INT(2.3*4.7) |
| − | *This function will give result as error when <math> number </math> is nonnumeric. | + | *This function will give result as error when <math> Number </math> is non numeric. |
| | | | |
| | ==ZOS== | | ==ZOS== |
| − | *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.,int(-10.5),int((-19.25*11.21)/4) | | *For e.g.,int(-10.5),int((-19.25*11.21)/4) |
| | {{#ev:youtube|EVF31NEtqCM|280|center|Integer}} | | {{#ev:youtube|EVF31NEtqCM|280|center|Integer}} |