How do I get my decimals to stay at 2 places for representing money using the decimal module?
decimal
I\'ve setting the precision, and damn near everything else
One way to solve this is to store money values in cents as integers, and only convert to decimal representation when printing values. This is called fixed point arithmetic.