r65 vs r66
11
[[분류:냥]][Include(틀:상세 내용, 설명대상=원본, 문서명=틀\:계산기)]
22
== 2-2 ==
33
{{{#!wiki style="font-weight: 300; font-size: 20px"
4
{{{#!wiki style="display: none;"
4
{{{#!wiki style="display: none"
55
##초기화
66
'''as''' : "a" value to string; '''bs''' : "b" value to string;
77
'''al''' : "a" string length (integer); '''bl''' : "b" string length (integer)
......
1111
'''ap''' : "a" # of places of decimal (integer); '''bp''' : "b" # of places of decimal (integer);
1212
0.303과 0.0303은 다른 수이므로 자리수가 다름을 표시할 용도
1313
'''ru''' : result upper value (integer); '''rb''' : result below value (integer)
14
{{{#!if this.as=a.upString(), this.bs=b.upString(), this.ru=0+0, this.rb=0+0
14
{{{#!if this.as=a.toString(), this.bs=b.toString(), this.ru=0+0, this.rb=0+0
1515
}}}{{{#!if this.al=as.length, this.bl=bs.length, this.ad=as.indexOf("."), this.bd=bs.indexOf(".")
1616
}}}{{{#!if ad!=-1
1717
소수점이 발견되는 자리 번호가 ad이므로 ad+1번에 해당되는 자리부터 끝까지 표기.
......