Functions to Convert Data Types : Php Functions « Language Basics « PHP






Functions to Convert Data Types

 
Function           Description
 
doubleval()        Accepts a value and returns double equivalent
 
intval()           Accepts a value and returns integer equivalent
 
strval()           Accepts a value and returns string equivalent
  
  








Related examples in the same category

1.Functions to Check Data Type
2.Functions to Test Data Types
3.GMP Functions
4.Using the @ operator to suppress a warning about the undefined variables