develooper Front page | perl.dbi.users | Postings from December 2021

select decimal column from mysql

Thread Next
john miky
December 20, 2021 05:21
select decimal column from mysql
Message ID:

I select a decimal column, from mysql with dbi,
the value 0.015 for example,  my ($v) = $dbh->selectrow_array("select price
from test limit 1")
it is greater than 0 in perl.

What's the proper way to get a float value ?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About