Hi,
I'm converting a program which using money.
Actually, My country is not using dollar type, ( we use integer or long for money type)
But the program need to be adopt dollar!!
it has cents as you know
so, in DB I can choose Number(x,2) or Number(x)
means
in
java I can use double or long( for cents )
but if I use long type for dollar, I have to do something ( as /100 or *100)
So, I have question, What type do you use for money? ( double or long? )
If you use long type, how do you switch dollar<->cent?
It's a burdonsome to me, (b'cuz I dont have any chance to use dollar type

)
Please help me^^