r232 vs r233
......
22
##디버그용 if 문법 ("문자열" 값으로 정의해야 합니다.)
33
{{{#!if a= ,b= ,f=
44
}}}
5
{{{#!wiki style="display: none; display: inline;"
65
##== 변수 설명 ==
76
'''as''' : "a" value to string; '''bs''' : "b" value to string;
87
'''al''' : "a" string length (integer); '''bl''' : "b" string length (integer)
......
391390
{{{#!if ((+au==0)&&(+ab==0))&&((+bu!=0)||(+bb!=0))
392391
{{{#!if rs="", ru="0", rb="", ri="", rp=0, ns=""
393392
}}}}}}
394
}}}
393
}}}}}}
395394
곱셈과 나눗셈에서 a와 b 모두 0이 아닌 경우를 봅니다.
396395
{{{#!if ((+au!=0)||(+ab!=0))&&((+bu!=0)||(+bb!=0))
397396
......
426425
}}}
427426
}}}
428427
여기까지 곱셈 또는 나눗셈에서 숫자를 초기화하는 과정입니다.
429
}}}}}}
428
}}}
430429
431430
a와 b 모두 0이 아닌 경우에서 곱셈을 연산하는 과정입니다.
432431
{{{#!if (f=="*")&&((+au!=0)||(+ab!=0))&&((+bu!=0)||(+bb!=0))
......
15511550
'''rl''' : result string length to output; '''p''' : a point of string(s);
15521551
ru는 계산결과에서 소수점 위 자리이므로, dot(.)이 나오지 않습니다.
15531552
##여기까지 주석(주석 아님)
1554
}}}}}}{{{#!wiki style="font-weight: 300; font-size: 20px;"
1553
}}}{{{#!wiki style="font-weight: 300; font-size: 20px;"
15551554
{{{#!if this.sa=(this.a!="")&&(this.a!=null), this.sb=(this.b!="")&&(this.b!=null), this.sf=(this.f=='+')||(this.f=='-')||(this.f=='*')||(this.f=='/')
15561555
}}}{{{#!if !sa&&!sb&&!sf
15571556
변수를 입력하세요...
......