Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Simple addition/subtraction not working

by InfiniteSilence (Curate)
on Dec 08, 2011 at 01:01 UTC ( #942345=note: print w/replies, xml ) Need Help??


in reply to Simple addition/subtraction not working

perl -e 'use Math::BigFloat; my $x = Math::BigFloat->new(q|-138.9|); p +rint $x->badd(q|46.3|);'
Returns
-92.6

Celebrate Intellectual Diversity

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942345]
help
Chatterbox?
[Your Mother]: I wonder how many persons are tired of pointless and unproductive Perl6 sniping. :P FWIW Perl6 has the highest ratio of answered questions of ALL topics on Stack Overflow.
[Jenda]: All five of this month have been answered?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2018-04-24 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?