| r340 vs r341 | ||
|---|---|---|
| ... | ... | |
| 5464 | 5464 | }}}}}}.@ms@}}}{{{#!if ps |
| 5465 | 5465 | )}}} }}}{{{#!if (bs.length>=20)||(as.length+bs.length>=30) |
| 5466 | 5466 | [br]}}}= @ns@{{{#!if comment="rs 표시 부분", ms=rs, tx=6%(+md), tm="", tn="", (+md==3)||(+md==4) |
| 5467 | {{{#!if tn=ms, ty=ms.length, tz=(ty-tx<0)? | |
| 5467 | {{{#!if comment="18자리를 md 자리만큼 떼었을 때 +md==4와 같이 모자라는 자릿수를 tx로 정의합니다.", tn=ms, ty=ms.length, tz=(ty-tx<0)?ty:(ty+tx)%(+md), ty=(ty+tx)/(+md), tz>0 | |
| 5468 | 5468 | {{{#!if tm+=tn.substr(0,tz), tn=tn.substr(tz), ty>0 |
| 5469 | 5469 | {{{#!if tm+="," |
| 5470 | }}}}}}}}}}}}@ms@@ru@{{{#!if +rp>0 | |
| 5470 | }}}}}}}}}{{{#!if ty-->0 | |
| 5471 | {{{#!if tm+=tn.substr(0,+md), tn=tn.substr(+md) | |
| 5472 | }}}}}}{{{#!if ty-->0 | |
| 5473 | {{{#!if tm+=","+tn.substr(0,+md), tn=tn.substr(+md) | |
| 5474 | }}}}}}{{{#!if ty-->0 | |
| 5475 | {{{#!if tm+=","+tn.substr(0,+md), tn=tn.substr(+md) | |
| 5476 | }}}}}}{{{#!if ty-->0 | |
| 5477 | {{{#!if tm+=","+tn.substr(0,+md), tn=tn.substr(+md) | |
| 5478 | }}}}}}{{{#!if ty-->0 | |
| 5479 | {{{#!if tm+=","+tn.substr(0,+md), tn=tn.substr(+md) | |
| 5480 | }}}}}}{{{#!if ty-->0 | |
| 5481 | {{{#!if tm+=","+tn.substr(0,+md), tn=tn.substr(+md) | |
| 5482 | }}}}}}}}}@ms@@ru@{{{#!if +rp>0 | |
| 5471 | 5483 | ##rb string, decimal point marking |
| 5472 | 5484 | .@rb@{{{#!if ri!="" |
| 5473 | 5485 | @ri@{{{#!if (f=='/')&&(tn=="...") |
| ... | ... |