CEIL,ROUNDとテストを追加
This commit is contained in:
1 parent
d7f0fced6f
commit
e7f13edaec
3 files changed
+34
-2
No files matched your search
@@ -242,6 +242,14 @@ class BuiltinFunction
|
||||
{
|
||||
return val.floor;
|
||||
}
|
||||
static double ROUND(double val)
|
||||
{
|
||||
return val.round;
|
||||
}
|
||||
static double CEIL(double val)
|
||||
{
|
||||
return val.ceil;
|
||||
}
|
||||
static wstring MID(wstring str, int i, int len)
|
||||
{
|
||||
if(i + len > str.length)
|
||||
|
||||
Reference in new issue
Block a user