php-windows | 2003032
Date: 03/25/03
- Next message: skate: "[PHP-WIN] vb translations"
- Previous message: Herhuth, Ron: "[PHP-WIN] Simple Addition issue"
- In reply to: Herhuth, Ron: "[PHP-WIN] Simple Addition issue"
- Next in thread: Svensson, B.A.T. (HKG): "RE: [PHP-WIN] Simple Addition issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> When I check the value of $total_state_income it equals 24 not
> the expected 24,689.
>
> The datatype of the values returned from SQL Server are Varchar
> so I tried typecasting the values to integers before adding them
> to the running total.
>
> What am I doing wrong??
>
> Thanks in advance for your help,
> Ron
does it work if you remove the thousands sspearators?
Rich
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: skate: "[PHP-WIN] vb translations"
- Previous message: Herhuth, Ron: "[PHP-WIN] Simple Addition issue"
- In reply to: Herhuth, Ron: "[PHP-WIN] Simple Addition issue"
- Next in thread: Svensson, B.A.T. (HKG): "RE: [PHP-WIN] Simple Addition issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

