http://www.perlmonks.org?node_id=187106


in reply to Round a fraction

Okay, I am definitely missing something here...

If not, why not just use sprintf

like perl -e 'printf("%0.5f",1.233394494955);
So what did I miss?

--

Brother Frankus.

¤