Float::round

Calculate the nearest integer to self. Round half-way cases away from 0.0.

Type

round :: Float -> Float

Examples

println$( (-1.23).round$() )
println$( 1.23.round$() )