method

round

v1_8_6_287 - Show latest stable - Class: Numeric
round()
public

Rounds num to the nearest integer. Numeric implements this by converting itself to a Float and invoking Float#round.