The Cast() function is used to convert a data type variable or data from one data type to another data type.
The Cast() function provides a data type to a dynamic parameter
For Example
There is four value and her data type is Varchar if we want add all values it is necessery to convert into Int