Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
hotshot mentioned that he wanted 12000/1000 to print as "12.0". Your pure-math method results in output of "12", and thus doesn't meet the OP's specifications.
It would seem that, given he wishes not to use printf or formats, his best bet is the sprintf tool.
Dave "If I had my life to live over again, I'd be a plumber." -- Albert Einstein In reply to Re: Re: Dividing and format
by davido
|
|