1
0

STR$が整数しか使えなかった問題を修正

This commit is contained in:
otya128
2016-09-03 17:00:20 +09:00
parent 3b2d93f351
commit 7e470fa40b

View File

@@ -858,7 +858,7 @@ class BuiltinFunction
throw new IllegalFunctionCall("ASC"); throw new IllegalFunctionCall("ASC");
return cast(int)str[0]; return cast(int)str[0];
} }
static wstring STR(int val) static wstring STR(double val)
{ {
return val.to!wstring; return val.to!wstring;
} }