| r2595 vs r2596 | ||
|---|---|---|
| ... | ... | |
| 27 | 27 | {{{#!if s3=false |
| 28 | 28 | }}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57) |
| 29 | 29 | }}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false) |
| 30 | ##숫자를 발견할 경우 | |
| 31 | 30 | {{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true |
| 32 | ##여기에 앞자리가 음수냐 아니냐를 읽는 판별을 만들어야 합니다. ㅏ 이걸 생각 못했네요 그럼 좀 많이 길어지는데 | |
| 33 | 31 | }}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false) |
| 34 | 32 | {{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true |
| 35 | 33 | }}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false) |
| ... | ... | |
| 42 | 40 | {{{#!if this['v1'] == 11 |
| 43 | 41 | this['v1'] == 11}}} |
| 44 | 42 | ## |
| 43 | {{{#!if s3=false | |
| 44 | }}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57) | |
| 45 | }}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false) | |
| 46 | {{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true | |
| 47 | }}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false) | |
| 48 | {{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true | |
| 49 | }}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false) | |
| 50 | {{{#!if s2=true, s3=true | |
| 51 | }}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false) | |
| 52 | {{{#!if j+=1, s1=false, s2=false, s3=true | |
| 53 | }}}}}}{{{#!if i+=1 | |
| 54 | }}}{{{#!if s3=false | |
| 55 | }}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57) | |
| 56 | }}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false) | |
| 57 | {{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true | |
| 58 | }}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false) | |
| 59 | {{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true | |
| 60 | }}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false) | |
| 61 | {{{#!if s2=true, s3=true | |
| 62 | }}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false) | |
| 63 | {{{#!if j+=1, s1=false, s2=false, s3=true | |
| 64 | }}}}}}{{{#!if i+=1 | |
| 65 | }}} | |
| 45 | 66 | ## |
| 67 | {{{#!if this['v2'] == 2 | |
| 68 | this['v2'] == 2}}} | |
| 46 | 69 | ## |
| 47 | 70 | ## |
| 48 | 71 | ## |
| ... | ... |