Android Question Working with Money

Stichler

Active Member
Licensed User
Hello all,

I have a simple program for tracking our money, but can't seem to get the decimals under control. I have a variable named money as a double but need to get hose darn decimal points down to 2 n ot the current amount i get. How does one go about making $123.77 instead of 123.772736362627278, and still have accurate math when adding and subtracting from?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…