| r2721 vs r2722 | ||
|---|---|---|
| ... | ... | |
| 7 | 7 | {{{#!if a='냥'[1] |
| 8 | 8 | }}}@a@{{{#!if a==null |
| 9 | 9 | a==null}}} |
| 10 | {{{#!if | |
| 11 | ||
| 12 | }}}{{{#!if !test | |
| 10 | {{{#!if test=((a!=null)||(a!="")), break=false | |
| 11 | }}}{{{#!if !test&&!break | |
| 13 | 12 | {{{#!if break=true |
| 14 | }}}온점을 2개 이상 입력했을 경우}}} | |
| 15 | {{{#!if test&&!break | |
| 16 | {{{#!if test=((au[0]!=45)&&(au.length<=18))||((au[0]==45)&&(au.length<=19)) | |
| 13 | }}}빈 값을 입력했을 경우}}}{{{#!if test&&!break | |
| 14 | }}}빈 값이 아닌 경우{{{#!if as=a.toString(), ad=as.indexOf("."), test=(ad==as.lastIndexOf(".")), au=as.substr(0,ad) | |
| 15 | }}} | |
| 16 | {{{#!if !test&&!break | |
| 17 | {{{#!if break=true | |
| 18 | }}}온점을 2개 이상 입력했을 경우}}}{{{#!if test&&!break | |
| 19 | 온점이 1개 이하인 경우{{{#!if test=((au[0]!=45)&&(au.length<=18))||((au[0]==45)&&(au.length<=19)) | |
| 17 | 20 | }}}}}} |
| 18 | 21 | {{{#!if !test&&!break |
| 19 | 22 | {{{#!if break=true |
| 20 | }}}자릿수가 넘은 경우}}} | |
| 21 | {{{#!if test&&!break | |
| 22 | {{{#!if testtext=au | |
| 23 | }}}자릿수가 넘은 경우}}}{{{#!if test&&!break | |
| 24 | 자릿수가 넘지 않은 경우{{{#!if this.testtext=au | |
| 25 | }}}{{{#!if rest=(au[0]==45), rest | |
| 23 | 26 | {{{#!if testtext=au.substr(1, au.length-1) |
| 24 | }}}}}}{{{#!if testtext="1"+text, testmodifying=+testtext, testmodifying=testmodifying.toString() | |
| 25 | }}}}}}{{{#!if !test&&!break | |
| 27 | }}}}}}{{{#!if testtext="1"+testtext, testmodifying=+testtext, testmodifying=testmodifying.toString() | |
| 28 | }}}{{{#!if test=(testtext==testmodifying) | |
| 29 | }}}}}} | |
| 30 | {{{#!if !test&&!break | |
| 26 | 31 | {{{#!if break=true |
| 27 | }}}숫자가 아닌 이상한 문구를 섞어넣었을 경우}}} | |
| 28 | {{{#!if test&&!break | |
| 32 | }}}숫자가 아닌 이상한 문구를 섞어넣었을 경우}}}{{{#!if test&&!break | |
| 29 | 33 | 입력하신 문구는 숫자가 맞습니다.}}} |
| 30 | 34 | |
| 31 | 35 | ---- |
| ... | ... |