f$Integer (f$Integer)
f$Integer (f$Integer)
Converts a floating value into an integer and removes the decimal places while doing so. If the result however needs to be rounded, then you can use f$Round.
Syntax: | RoundedNumber = f$Integer( Number ) | ||
| Argument | Type | Meaning |
| Number | Decimal | Number to be rounded |
Result: | Integer | Modified number | |
Example: | Price = f$Integer( 33.59 ) → Price = 33 | ||
Related functions:
f$Round | Round a decimal number |