r344 vs r345
......
53655365
'''md''' : displaying mode number (string→integer); '''ms''' : message for correction (string)
53665366
'''tm''' : temporary string, or transaction message (string); '''tn''' : temporary string 2 (string);
53675367
'''tx''' : temporary value 1 (integer); '''ty''' : temporary value 2 (integer); '''tz''' : temporary value 3 (integer);
5368
'''comment''' : comment (integer, unused);
5368
'''comment''' : comment (string, unused);
53695369
ru는 계산결과에서 소수점 위 자리이므로, dot(.)이 나오지 않습니다.
53705370
##여기까지 주석(주석 아님)
53715371
}}}{{{#!wiki style="font-weight: 300; font-size: 17.5px;"
......
55175517
}}}}}}@ms@{{{#!if ri!=""
55185518
{{{#!if comment="ri의 값이 존재하고 끊는 단위로 떨어질 때 자릿수를 매기고자 띄어쓰기를 넣습니다.", ms=(18%(+md)==0)?" ":""
55195519
}}}@ms@{{{#!if comment="ri 표시 부분", ms=ri, tm="", tn="", (+md==3)||(+md==4)
5520
{{{#!if comment="rs의 경우와 같이, md만큼 떼었을 때 모자라는부분을 생각합니다.", tn=ms, ty=ms.length, ty=(ty+tx)/(+md), tm=tn.substr(0,tx), tn=tn.substr(tx), ty-->0
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
55215525
{{{#!if tm+=" "+tn.substr(0,+md), tn=tn.substr(+md)
55225526
}}}}}}{{{#!if ty-->0
55235527
{{{#!if tm+=" "+tn.substr(0,+md), tn=tn.substr(+md)
......