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.

I'm not sure if this is what you are after, but I think the java.text.NumberFormat abstract class might help. It provides a static method called getIntegerInstance() that can be used to create a formatter for your floating point numbers to round them to integer digits. I can't quite tell from the description of your problem if this is what you want or not, but take a look at the API and see if it helps.