in reply to Re: DBD::ODBC FoxPro double type numbers rounded
in thread DBD::ODBC FoxPro double type numbers rounded
Hi,
Sorry to answer so late, I thought that I actually posted a solution at the time, to document what I did.
I did solve it by adding the function round like this:
$sth = $dbh->prepare("select round(monto,2) from table producto where pid=1");
Not really a solution, but it has been working.
Sorry to answer so late, I thought that I actually posted a solution at the time, to document what I did.
I did solve it by adding the function round like this:
$sth = $dbh->prepare("select round(monto,2) from table producto where pid=1");
Not really a solution, but it has been working.
In Section
Seekers of Perl Wisdom