Futurebasic/Language/Reference/usr even

USR EVEN(expr)

Description - This function returns the smallest even integer which is greater than or equal to the integer part of expr. USR EVEN can be useful for finding even address boundaries.

Example: PRINT USR EVEN(5) PRINT USR EVEN(-9) PRINT USR EVEN(40.3) PRINT USR EVEN(160)

Program output: 6 -8 40 160

See Also MOD