Is there an easy way to truncate a double like 12.134 to 12.13? I'm not talking about on screen, I know that can be accomplished by the stuff in setiosflags. I'm talking about storing it as two places, and rounding up if the thousandths (.001) is five or higher. I am writing a program that computes the price for an item based on an input file, and when it asks for what the customer paid, 12.13 comes up as being insufficient to pay for a bill that is 12.134... Hopefully this is making some sense... In our specifications it says that this one cent discrepency may be ignored, but since I have some extra time to work on it I want to take care of that as well. Is truncation or rounding acceptable? If so how can I round or truncate based on that thousandths digit? Thanks in advance.