Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Variables are automatically rounded off in perl

by Anonymous Monk
on Jul 26, 2016 at 07:14 UTC ( #1168541=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168541]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-05-19 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?