in reply to Re: Using (s)printf()in thread Using (s)printf()
Try this
gives
> 12.3400
see the docs for sprintf for much more detail :) but in brief it's "%<length>.<dp>f"