Having a total example € 3.50 I have to break it so you can turn on a series of buttons that have a different price
I Explain You
I have an array aImports:={200,100,50,20,10,5,3,2,1,0.50,0.20,0.10,0.05}
every record relates to a button
if I have a total = 3.50 I have to wiper to turn on the buttons that 3.50 do
in this case aImports[7] and aImports[10]
How I can do to calculate it ?