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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com