Since QB4.5 doesnt have a currency floating point type here
is what I did.
DIM Dollar as long
DIM Cents as integer
DIM Amount as double
input amount
Dollar=Amount
Cents=(Amount-Dollar)*100
print Dollar;".";Cents
print using "##,###.##";Dollar+cents/100
this can also be stored in 5 bytes using mkl$ and chr$
amt$=msk$(Dollar)+chr$(cents)
one Caveat: you need to check for negative cents before
using chr$(cents)
If Cents<0 then Dollar=Dollar-1:Cents=Cents+100
then to get them back
Dollar=CVL(mid$(amt$,1,4))
Cents=asc(mid$(amt$,5,1))