Always show 3 Decimal Places

For example I could have 6 or 6.5 or 6.75 or 6.125 but I need to convert all to show zeros at the end if they are less than three decimal places.

So it should output respectively,
6.000
6.500
6.750
or leave alone at 6.125 or some other three digit number.

Thanks geniuses.