Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Sign bug in Number::Format

by ww (Bishop)
on Jun 05, 2012 at 20:54 UTC ( #974561=note: print w/replies, xml ) Need Help??


in reply to Sign bug in Number::Format

Bug? It looks correct to me:
4 x 10^-5 = 0.00004
and 0.00004 = 4 x 10^-5 or 4e-05
Ooops (ikegami & toolic bring me to my senses):
DB<3> print Number::Format::format_number(-0.0004,5)
-0.0004

Peripheral note: strikeout makes "=" look like -.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974561]
help
Chatterbox?
LanX 1 ..2 ..3 ..4 .. is erix missing ;-)
LanX is Discipulus reciting "Springtime for Hitler" ?
[choroba]: erix could tell you how to do it in Postgres
[LanX]: NOOOOOOOOOOOOOOO not again
[chacham]: wow, mysql really is as bad as i thougt
[choroba]: completion?
[LanX]: That's what he usually does when MySQL is mentioned ;-)
[chacham]: the same thing could be achieved with a trigger
[LanX]: choroba yes
chacham shudders at the thought of using a trigger...so evil

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-03-30 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.