1
0

CEIL,ROUNDとテストを追加

This commit is contained in:
otya128
2015-08-23 11:44:13 +09:00
parent d7f0fced6f
commit e7f13edaec
3 changed files with 34 additions and 2 deletions

View File

@@ -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)