[PHP] string to float

2004-03-23 Thread Diana Castillo
How do I change a string to a float, when the string may be in this format :
4,999.90 , or this format: 4999,90 (european style)


--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039 ext 214
Fax : 00-34-915228673
email: [EMAIL PROTECTED]
Web : http://www.hotelkey.com
  http://www.destinia.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] string to float

2004-03-23 Thread Jay Blanchard
[snip]
How do I change a string to a float, when the string may be in this
format :
4,999.90 , or this format: 4999,90 (european style)
[/snip]

http://us4.php.net/settype

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php