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$() )
Cast a Float
to Int
type by truncating.
int :: Float -> Int
println$( 1.7.int$() )
println$( 1.2.int$() )
println$( (-1.7).int$() )
println$( (-1.2).int$() )