If that's 5.00 dollars, it's already rounded to the nearest dollar. if it's something else, you should indicate that.
$65.16 rounded to the nearest dollar = $65 65.16 cents rounded to the nearest dollar = $1
$1002 is $1002 when rounded to the nearest dollar. 1002 cents is $10 if rounded to the nearest dollar.
0
500
500
500
500
86.24 cent, rounded to the nearest dollar, is 1 dollar.
$682.00 is already rounded to the nearest dollar.
$51.99 rounded to the nearest dollar is $52.00
177008.69 rounded to the nearest dollar is $177009.
$168.72 rounded to the nearest dollar is $169.