Number.to_number

Number.to_number

Number.to_number

功能

返回当前数字本身的数字值。

语法

参数

无参数。

返回值

类型说明
Int/Float返回当前数字值。

示例

注意事项

  • 该方法用于链式场景中的显式数字化。