Float::int

Cast a Float to Int type by truncating.

Type

int :: Float -> Int

Examples

println$( 1.7.int$() )
println$( 1.2.int$() )
println$( (-1.7).int$() )
println$( (-1.2).int$() )