How to convert string into long or double data types

Hi friends ,

how to convert string data type into long, double data type in php, is there any way for typecasting the string into long,double like ((int)string).if any one know please tell.

Thanks and Regards

vnvs swamy

floatval()
intval()

or even settype()