Round NUM
to the nearest TPLACE.
Because we want to round to the plural_form(TPLACE, 2) place, we need to look at the digit in the TPLACES place.
The digit in the TPLACES place is KEYDIGIT
.
Because KEYDIGIT
is more than 5
, we round up to ROUNDED
.
Because the TPLACES place digit is KEYDIGIT
,
we round up to ROUNDED
.
Because KEYDIGIT
is less than 5
, we round down to ROUNDED
.
Round NUM
to the nearest TPLACE.
Because we want to round to the plural_form(TPLACE, 2) place, we need to look at the digit in the TPLACES place.
The digit in the TPLACES place is KEYDIGIT
.
Because KEYDIGIT
is more than 5
, we round up to ROUNDED
.
Because the TPLACES place digit is KEYDIGIT
,
we round up to ROUNDED
.
Because KEYDIGIT
is less than 5
, we round down to ROUNDED
.