Yes when a variable type is being changed (while it is legal) it is called casting.
You can cast a variable with the structure of
= () .
Read the line above without the <>.
To select what you want to cast, you should also put a ( ) around the part you want specifically to be casted.