| r2594 vs r2595 | ||
|---|---|---|
| ... | ... | |
| 6 | 6 | }}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false) |
| 7 | 7 | ##숫자를 발견할 경우 |
| 8 | 8 | {{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true |
| 9 | ##여기에 앞자리가 음수냐 아니냐를 읽는 판별을 만들어야 합니다. | |
| 9 | ##여기에 앞자리가 음수냐 아니냐를 읽는 판별을 만들어야 합니다. ㅏ 이걸 생각 못했네요 그럼 좀 많이 길어지는데 | |
| 10 | 10 | }}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false) |
| 11 | 11 | ##숫자를 계속 발견할 경우 (소수점일 수도 있습니다. 여기서는 숫자일 경우) |
| 12 | 12 | ##여기에서 소수점 위를 기입하냐 소수점 아래를 기입하냐 소수점 아래라면 소수점 아래 몇번째 자리를 기입하느냐를 적어야 합니다. |
| 13 | {{{#!if this['v'+j] = 10*this['v'+j]+(식.substr(i,1)), s3=true | |
| 13 | {{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true | |
| 14 | 14 | }}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false) |
| 15 | 15 | ##숫자를 계속 발견할 경우 (여기서는 소수점일 경우) |
| 16 | 16 | {{{#!if s2=true, s3=true |
| ... | ... | |
| 20 | 20 | ##소수점 아래 기입하는 스위치도 off, 다음 index(j) 매김. |
| 21 | 21 | }}}}}}{{{#!if i+=1 |
| 22 | 22 | }}} |
| 23 | ||
| 23 | ## | |
| 24 | {{{#!if this['v1'] == 1 | |
| 25 | this['v1'] == 1}}} | |
| 26 | ## | |
| 27 | {{{#!if s3=false | |
| 28 | }}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57) | |
| 29 | }}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false) | |
| 30 | ##숫자를 발견할 경우 | |
| 31 | {{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true | |
| 32 | ##여기에 앞자리가 음수냐 아니냐를 읽는 판별을 만들어야 합니다. ㅏ 이걸 생각 못했네요 그럼 좀 많이 길어지는데 | |
| 33 | }}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false) | |
| 34 | {{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true | |
| 35 | }}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false) | |
| 36 | {{{#!if s2=true, s3=true | |
| 37 | }}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false) | |
| 38 | {{{#!if j+=1, s1=false, s2=false, s3=true | |
| 39 | }}}}}}{{{#!if i+=1 | |
| 40 | }}} | |
| 41 | ## | |
| 42 | {{{#!if this['v1'] == 11 | |
| 43 | this['v1'] == 11}}} | |
| 44 | ## | |
| 45 | ## | |
| 46 | ## | |
| 47 | ## | |
| 48 | ## | |
| 49 | ## | |
| 24 | 50 | {{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1 |
| 25 | 51 | }}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1 |
| 26 | 52 | }}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1 |
| 27 | 53 | }}} |
| 28 | 54 | |
| 29 | ## {{{#!if this['v0'] == 1 | |
| 30 | ## asdf}}} | |
| 31 | ||
| 32 | 55 | ## 식 검증이 됐다 치면 |
| 33 | 56 | ## dn : true - 수 / false - 연산자 |
| 34 | 57 | {{{#!if this['d0'] |
| ... | ... |