CDec Function

Converts a string expression or numeric expression to a decimal expression.

Syntax:

CDec(Expression)

Return value:

Decimal number.

Parameter:

Expression: Any string or numeric expression that you want to convert.