Method: Numeric#round

Defined in:
numeric.c

#roundInteger

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

Returns:



1382
1383
1384
# File 'numeric.c', line 1382

static VALUE
num_round(num)
VALUE num;