how do you get a percentage out of a dollar amount that has decimals?
Do you mean something like 3% of $5.60 ?
3%=3/100=0.03
0.03*5.60=0.168
That is $0.168 = 16.8 cents = 17c to the nearest cent.