Use '#.00' or '0.00' as format mask. Note that the first version suppresses a leading zero, i.e. when the number is 0.1 the output string will be '.10'; when you need the leading zero in this case use '0.00' where 0.1 will be shown as '0.10'.