| r344 vs r345 | ||
|---|---|---|
| ... | ... | |
| 5365 | 5365 | '''md''' : displaying mode number (string→integer); '''ms''' : message for correction (string) |
| 5366 | 5366 | '''tm''' : temporary string, or transaction message (string); '''tn''' : temporary string 2 (string); |
| 5367 | 5367 | '''tx''' : temporary value 1 (integer); '''ty''' : temporary value 2 (integer); '''tz''' : temporary value 3 (integer); |
| 5368 | '''comment''' : comment (in | |
| 5368 | '''comment''' : comment (string, unused); | |
| 5369 | 5369 | ru는 계산결과에서 소수점 위 자리이므로, dot(.)이 나오지 않습니다. |
| 5370 | 5370 | ##여기까지 주석(주석 아님) |
| 5371 | 5371 | }}}{{{#!wiki style="font-weight: 300; font-size: 17.5px;" |
| ... | ... | |
| 5517 | 5517 | }}}}}}@ms@{{{#!if ri!="" |
| 5518 | 5518 | {{{#!if comment="ri의 값이 존재하고 끊는 단위로 떨어질 때 자릿수를 매기고자 띄어쓰기를 넣습니다.", ms=(18%(+md)==0)?" ":"" |
| 5519 | 5519 | }}}@ms@{{{#!if comment="ri 표시 부분", ms=ri, tm="", tn="", (+md==3)||(+md==4) |
| 5520 | {{{#!if comment="rs의 경우와 같이, md만큼 떼었을 때 모자라는 | |
| 5520 | {{{#!if comment="rs의 경우와 같이, md만큼 떼었을 때 rb에서 모자라는 자릿수를 먼저 끊어 표시합니다.", tn=ms, ty=ms.length, ty=(ty+tx)/(+md), tm=tn.substr(0,tx), tn=tn.substr(tx), ty>0 | |
| 5521 | {{{#!if tm+=" " | |
| 5522 | }}}}}}{{{#!if ty-->0 | |
| 5523 | {{{#!if tm+=tn.substr(0,+md), tn=tn.substr(+md) | |
| 5524 | }}}}}}{{{#!if ty-->0 | |
| 5521 | 5525 | {{{#!if tm+=" "+tn.substr(0,+md), tn=tn.substr(+md) |
| 5522 | 5526 | }}}}}}{{{#!if ty-->0 |
| 5523 | 5527 | {{{#!if tm+=" "+tn.substr(0,+md), tn=tn.substr(+md) |
| ... | ... |