- Oct 21, 2003
- 99
- 0
- 0
Im writing a program for a class, which calculates charges for a mock ISP. I have everything done, but when it outputs results, it gives me something like $23.1. How can I make it so that it doesn't drop the 0 from the right part of the decimal places. Is there a data type I should be using? Currently Im using long doubles. Thanks for the help in advance