I have heard that "%_f" does this in C.
No, that's not C.
I do want variable-length output
s/\.?0+\z// if /\./;
In reply to Re: printing floats nicely
by ikegami
in thread printing floats nicely
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |