I have a code that has a denomination like:
Example change is 2,830.50
// Output
** Change **
1000 - 1.0 <-- how can I make this just 1 but not 1.0 w/o using "int" (double is required).
500 - 1.0 <--
200 - 1.0 <--
100 - 1.0 <--
50 - 0.0 <--
20 - 1.0 <--
10 - 1.0 <--
.25 - 2.0 <--
thx.