I'm printing out a bunch of numbers with a for loop which makes up a table. Numbers such as 526.74 or 921.63 contribute to the alignment of the table since there are a total of 5 digits in the number. I also have the number 1005 being printed, but since its a whole number does not print any decimal places and ruins the alignment of that row. For example
526.74 IS A NUMBER
921.63 IS A NUMBER
457.43 IS A NUMBER
1005 IS A NUMBER
Basically I need it to print out 1005.00 so that everything is aligned, is there anyway I can get it to print 1005.00 instead of 1005, also since its part of a for loop making any changes will effect all numbers and not just 1005.
Thanks.