Hi,

If I want to pad with `0`, then the below is fine :

"$%d.%02d" % [12344444444444, 1] # => "$12344444444444.01"

If, I want to remove trailing `0`, then simply :

"%g" % 1.0 # 1

But, I am looking for how can I add trailing `0`s .  I want "$12344444444444.10" instead of `"$12344444444444.01"`.

-- 
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

--Brian Kernighan