I posted an improved format() procedure in:
Code hacks - EcoModder
It prints leading spaces instead of zeroes, and you can change the number of digits and decimal places. For example, "format(instantmph(),2,0)" would print "75". Or, "format(instantmph(),5,2)" would print " 75.33".
I think it was written for an earlier version of the code (0.82), but it might work in the current code without too much tweaking. If nothing else, it's a starting point to fix the ugly default.