to_float

Function to_float 

Source
pub fn to_float(args: &[Value]) -> Result<Value, RuntimeError>
Expand description

将分数转换为浮点数

参数:

  • args[0]: 分数或数字值

返回:

  • 转换后的浮点数值