目录

# CCur Function

将字符串表达式或数字表达式转换为货币表达式。对于小数分隔符和货币符号使用区域设置。

### 语法:

    CCur(Expression As Variant) As Currency

### 返回值:

货币

### 参数:

Expression: Any string or a numeric expression that you want to convert to a number.
CCur(EMPTY) returns 0.

### 错误代码:

5 无效的过程调用

6 溢出

### 示例:

      Sub CCur_example
          Print CCur( expression := 145.279 * "654" )
          Print CCur( -258.0421E+02 )
      End Sub

相关主题

CBool Function

CByte Function