For example, you may want to convert a value of
string type to
number so that you can perform mathematical operations on the value. You may also want to convert a data of
boolean type into a
Let’s start with learning how to cast other types into
string type first.