r55 vs r56
......
33
{{{#!wiki style="font-weight: 300; font-size: 20px"
44
{{{#!wiki style="display: none;"
55
'''as''' : "a" value to string; '''bs''' : "b" value to string;
6
'''al''' : "a" string length; '''bl''' : "b" string length
7
'''ad''' : "a" decimal point; '''bd''' : "b" decimal point;
8
'''au''' : --gold-- "a" upper value (integer); '''bu''' : "b" upper value (integer);
9
'''ab''' : "a" below value (integer); '''bb''' : "b" below value (integer);
6
'''al''' : "a" string length (integer); '''bl''' : "b" string length (integer)
7
'''ad''' : "a" decimal point (integer); '''bd''' : "b" decimal point (integer);
8
'''au''' : --gold-- "a" upper value (string→integer); '''bu''' : "b" upper value (string→integer);
9
'''ab''' : "a" below value (string→integer); '''bb''' : "b" below value (string→integer);
1010
'''ap''' : "a" # of places of decimal (integer); '''bp''' : "b" # of places of decimal (integer);
1111
0.303과 0.0303은 다른 수이므로 자리수가 다름을 표시할 용도
1212
'''ru''' : result upper value (integer); '''rb''' : result below value (integer)
1313
{{{#!if this.as=a.upString(), this.bs=b.upString(), this.ru=0+0, this.rb=0+0
1414
}}}{{{#!if this.al=as.length, this.bl=bs.length, this.ad=as.indexOf("."), this.bd=bs.indexOf(".")
1515
}}}{{{#!if ad!=-1
16
{{{#!if this.au=as.substr(0,ap), this.ab=as.substr(ap+1, al-ap-1), this.ap=ab.length
17
}}}}}}{{{#!if ad==-1
16
소수점이 발견되는 자리 번호가 ad이므로 ad+1번에 해당되는 자리부터 끝까지 표기.
17
{{{#!if this.au=as.substr(0,ad), this.ab=as.substr(ad+1, al-ad-1), this.ap=ab.length
18
}}}{{{#!if au==""
19
.12345 식으로 기입할 경우
20
{{{#!if au=0+0
21
}}}}}}}}}{{{#!if ad==-1
1822
{{{#!if this.au=as, ab="", ap=0+0
1923
}}}}}}{{{#!if bd!=-1
20
{{{#!if this.bu=bs.substr.(0,bp), this.bb=bs.substr(bp+1, bl-bp-1), this.bp=bb.length
24
{{{#!if this.bu=bs.substr.(0,bd), this.bb=bs.substr(bd+1, bl-bd-1), this.bp=bb.length
25
}}}{{{#!if bu==""
26
{{{#!if bu=0+0
2127
}}}}}}}}}{{{#!if bd==-1
2228
{{{#!if this.bu=bs, bb="", bp=0+0
2329
}}}}}}
......