| r156 vs r157 | ||
|---|---|---|
| 1 | [[분류:냥]][Include(틀:상세 내용, 설명대상=원본, 문서명=틀\:구 계산기2)] | |
| 2 | ||
| 3 | {{{#!wiki style="display: none;" | |
| 1 | [[분류:냥]][Include(틀:상세 내용, 설명대상=원본, 문서명=틀\:구 계산기2)]{{{#!wiki style="display: none;" | |
| 4 | 2 | ##디버그용 if 문법 ("문자열" 값으로 정의해야 합니다.) |
| 5 | 3 | {{{#!if a= ,b= ,f= |
| 6 | 4 | }}} |
| ... | ... | |
| 500 | 498 | ## for i=0 to 17 |
| 501 | 499 | {{{#!if tw=(+ab.substr(0,18-i))*(+bb.substr(17-i,1))*tv |
| 502 | 500 | }}}{{{#!if tw=tw.toString(), tw.legnth==19 |
| 503 | {{{#!if rb= | |
| 501 | {{{#!if rb=rb+(+tw.substr(0,1)), ri=ri+(+tw.substr(1,18)), ps=true | |
| 502 | }}}}}}{{{#!if (tw.legnth==18)&&(ps==false) | |
| 503 | {{{#!if ri=ri+(+tw.substr(1,18)) | |
| 504 | }}}}}}{{{#!if ps=false, ri=ri.toString(), ri.length==19 | |
| 505 | {{{#!if rb=rb+(+ri.substr(0,1)), ri=(+ri.substr(1,18)), ps=true | |
| 506 | }}}}}}{{{#!if (ri.length==18)&&(ps==false) | |
| 507 | {{{#!if ri=(+ri) | |
| 508 | }}}}}}{{{#!if i+=1, tv=tv*10, ps=false | |
| 504 | 509 | }}} |
| 505 | }}} | |
| 506 | {{{#!if i+=1 | |
| 507 | }}} | |
| 508 | 510 | |
| 509 | 511 | |
| 510 | 512 | |
| ... | ... |