Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: OT: Retrieve float number from mysql db

by Anonymous Monk
on Oct 16, 2015 at 12:50 UTC ( [id://1145112]=note: print w/replies, xml ) Need Help??


in reply to Re: OT: Retrieve float number from mysql db
in thread OT: Retrieve float number from mysql db

It is a mysql database

create table mytable (field float);

insert into mytable (field) value (1679971) ;

Mysql is not the problem I think, because if I use php I get 1679971 but with perl i get 1679970

It has to be the way perl represents the float value

  • Comment on Re^2: OT: Retrieve float number from mysql db

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found