I have a successfull query however I would like it to not display the negative (-) symbol... how do i do this...
my $balance_due = $dbh=$db->prepare("SELECT balance FROM Table1 WHERE username='$authuser' and balance < '-.01'"); $dbh->execute(); ($balance_due) = $dbh->fetchrow_array();
the result ends up being -9.99
that's all fine and dandy but I need it to drop the (-) because I am filling
in a payment form... and this has me owing them money!
Cheers,
-Paul
edited: Tue Jul 1 13:43:00 2003 by jeffa - code tags, entity unescaping
In reply to Chomp Maybe? by th3monk3y
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |