4 ms·2012: Python "{:10.2f}".format(x)by vladev 14y ago2012: Python "{:10.2f}".format(x)pestaa 14y agoYes and no. You still need to print it.rbanffy 14y agoFine. This is the equivalent of sprintf.