Type casting

It is possible to convert from one data type to another one. Of course if a value of a data type can be converted. For example it is possible to convert a string “3.5” to a number 3.5. However it is not possible to convert a string “ABC” to a number, because ABC cannot be represented by a number.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator