Skip to main content
Skip table of contents

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.