LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

INT

Root / Documentation / [.]

Created:
Convert a numeric value to an integer type. The fractional portion is truncated (rounded toward zero.) If the value is already an integer it is unchanged. >To round a real-number value, use `FLOOR`, `CEIL`, or `ROUND`. * Syntax ```sbsyntax INT number# out integer% ``` |* Input | Description | | `number#` | Number to convert to integer. | |* Output | Description | | `integer%` | `number#` converted to an integer. | * Examples ```sb4 PRINT INT(100.456) '=> 100 ```

No posts yet (will you be the first?)