posted 13 years ago
This is my first post at the ranch. I was hoping someone could help me figure out how to return a decimal value with 2 decimal places. Currently I am getting '6%' as the output and I would like to get say, 6.19%. I'm dividing two ints to get the 6 and I need to know how to format the ints to (I guess) a double and then format the double value to two decimal places. Thanks for the help.