I have a function taking float arguments (generally integers or decimals with one significant digit), and I need to output the values in a string with two decimal places (5
Using Python 3 syntax:
print('%.2f' % number)