| r94 vs r95 | ||
|---|---|---|
| 1 | 1 | [[분류:냥]][Include(틀:상세 내용, 설명대상=원본, 문서명=틀\:계산기)] |
| 2 | 2 | == 2-2 == |
| 3 | {{{#!wiki style="display: none;" | |
| 3 | ===# 디버그 #=== | |
| 4 | {{{#!wiki style="display: none; display: inline;" | |
| 4 | 5 | ##초기화 |
| 5 | 6 | '''as''' : "a" value to string; '''bs''' : "b" value to string; |
| 6 | 7 | '''al''' : "a" string length (integer); '''bl''' : "b" string length (integer) |
| ... | ... | |
| 289 | 290 | '''rl''' : result string length to output; '''i''' : index; '''p''' : a point of string(s); |
| 290 | 291 | ru는 계산결과에서 소수점 위 자리이므로, dot(.)이 나오지 않습니다. |
| 291 | 292 | ##여기까지 주석(주석 아님) |
| 292 | }}}{{{#!wiki style="font-weight: 300; font-size: 20px;" | |
| 293 | }}} | |
| 294 | === 출력부 === | |
| 295 | {{{#!wiki style="font-weight: 300; font-size: 20px;" | |
| 293 | 296 | {{{#!if this.sa=(this.a!="")&&(this.a!=null), this.sb=(this.b!="")&&(this.b!=null), this.sf=(this.f=='+')||(this.f=='-')||(this.f=='*')||(this.f=='/') |
| 294 | 297 | }}}{{{#!if !sa&&!sb&&!sf |
| 295 | 298 | 변수를 입력하세요... |
| ... | ... |