r2735 vs r2736
......
2121
{{{#!wiki style=""
2222
[include(\}\}\})]}}}
2323
24
{{{#!if a="590658101235366438.1234567.1"
25
}}}
26
{{{#!if test=((a!=null)||(a!="")), break=false
27
}}}{{{#!if !test&&!break
28
{{{#!if break=true
29
}}}빈 값을 입력했을 경우}}}{{{#!if test&&!break
30
}}}빈 값이 아닌 경우{{{#!if as=a.toString(), ad=as.indexOf("."), test=(ad==as.lastIndexOf(".")), au=as.substr(0,ad)
31
}}}
32
{{{#!if !test&&!break
33
{{{#!if break=true
34
}}}온점을 2개 이상 입력했을 경우}}}{{{#!if test&&!break
35
온점이 1개 이하인 경우{{{#!if test=((au[0]!=45)&&(au.length<=18))||((au[0]==45)&&(au.length<=19))
36
}}}}}}
37
{{{#!if !test&&!break
38
{{{#!if break=true
39
}}}자릿수가 넘은 경우}}}{{{#!if test&&!break
40
자릿수가 넘지 않은 경우{{{#!if this.testtext=au
41
}}}{{{#!if rest=(au[0]==45), rest
42
{{{#!if testtext=au.substr(1, au.length-1)
43
}}}}}}{{{#!if testtext="1"+testtext, testmodifying=+testtext, testmodifying=testmodifying.toString()
44
}}}{{{#!if test=(testtext==testmodifying)
45
}}}}}}
46
{{{#!if !test&&!break
47
{{{#!if break=true
48
}}}숫자가 아닌 이상한 문구를 섞어넣었을 경우}}}{{{#!if test&&!break
49
입력하신 문구에서 소수점 윗부분은 숫자가 맞는 경우{{{#!if ab=as.substr(ad+1, as.length-ad-1)
50
}}}}}}
51
5224
----
5325
{{{#!if 식='1+2'
5426
}}}
......