forked from PuqiAR/Fig-TreeWalker
[Fix] value库 double_from写错了靠
This commit is contained in:
@@ -38,6 +38,7 @@ public func double_parse(number: String) -> Double
|
|||||||
|
|
||||||
public func double_from(number: Any) -> Any
|
public func double_from(number: Any) -> Any
|
||||||
{
|
{
|
||||||
|
var ntype := type(number);
|
||||||
if ntype == "Int" or ntype == "Bool"
|
if ntype == "Int" or ntype == "Bool"
|
||||||
{
|
{
|
||||||
return __fvalue_double_from(number);
|
return __fvalue_double_from(number);
|
||||||
|
|||||||
Reference in New Issue
Block a user