[Fix] value库 double_from写错了靠
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-01-02 19:28:20 +08:00
parent 6423d844e0
commit 1d97069ebd

View File

@@ -38,6 +38,7 @@ public func double_parse(number: String) -> Double
public func double_from(number: Any) -> Any
{
var ntype := type(number);
if ntype == "Int" or ntype == "Bool"
{
return __fvalue_double_from(number);