ID: 9834
Updated by: sniper
Old-Status: Feedback
Status: Closed
Bug Type: Math related
PHP Version: 4.0.4pl1
Assigned To: 

No feedback.


Previous Comments:

[2001-03-19 11:49:07] [EMAIL PROTECTED]
Works for me just fine. But I think it's some locale
thingie. You might have ',' as the decimal separator.
Try setting the locale correctly:

setlocale(LC_NUMERIC, "en_US"); 

or something like that. Or you ',' as the separator.



[2001-03-19 06:11:28] [EMAIL PROTECTED]
I try to set a variable with a double value:


but PHP ignores everything after the point

echo ($a*100) results 200
echo ($b*100) results 200

I tried everything, i thought it might be work (like setting datatype before set the 
value, ...), but nothing worked.

Jan Wurl


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to