Converts an passed expression to a TYPE INTEGER point numeric value.
Displays the given value as an integer. Function does not round a number with decimals, instead the value returned is the integer portion of the number.
Syntax: |
---|
AsInteger( AnyValue ) |
Parameter: |
Description: |
---|---|
AnyValue |
Any numeric value, Or expression that results in a numeric value. |
Example: |
---|
' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Results: |
AsInteger Function: ------------------ AsInteger(-1.50) = -1 AsInteger(-1.00) = -1 AsInteger(-0.50) = 0 AsInteger(0.00) = 0 AsInteger(0.50) = 0 AsInteger(1.00) = 1 AsInteger(1.50) = 1 |
Links: |
---|
AsFloating, AsSeries, AsString, IsFloating, IsInteger, IsString, Ceiling, Floor, |
See Also: |
Edit Time: 9/18/2020 11:57:29 AM |
Topic ID#: 45 |