http://qs1969.pair.com?node_id=1168541


in reply to Re^3: Variables are automatically rounded off in perl
in thread Variables are automatically rounded off in perl

Rounding comes from mathematical operations not "print", see http://stackoverflow.com/questions/661562/how-to-format-a-float-in-javascript

  • Comment on Re^4: Variables are automatically rounded off in perl

Replies are listed 'Best First'.
Re^5: Variables are automatically rounded off in perl
by Anonymous Monk on Jul 26, 2016 at 10:16 UTC

    Yes, exactly. The topic under discussion here is float to string conversion. Perhaps the OP choice of title words "rounded off" was somewhat unfortunate. Perhaps "double roundup" would've been more accurate. See roundup.