r319 vs r320
......
53575357
'''ad''' : "a" decimal point of string variable 'ma' (integer);
53585358
'''bd''' : "b" decimal point of string variable 'mb' (integer);
53595359
'''md''' : displaying mode number (string→integer); '''ms''' : message for correction (string)
5360
'''tm''' : temporary string, or transaction message (string); '''tn''' : temporary string 2 (string);
53605361
'''tx''' : temporary value 1 (integer); '''ty''' : temporary value 2 (integer); '''tz''' : temporary value 3 (integer);
53615362
ru는 계산결과에서 소수점 위 자리이므로, dot(.)이 나오지 않습니다.
53625363
##여기까지 주석(주석 아님)
53635364
}}}{{{#!wiki style="font-weight: 300; font-size: 17.5px;"
5364
{{{#!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=='/'), this.ad=ma.indexOf("."), this.bd=mb.indexOf("."), ps=false
5365
{{{#!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=='/'), this.ad=ma.indexOf("."), this.bd=mb.indexOf("."), ps=false, tm="", tn=""
53655366
}}}{{{#!if !sa&&!sb&&!sf
53665367
변수를 입력하세요... }}}{{{#!if !(sa&&sb&&sf)
53675368
({{{#!if !sa
......
53765377
(@a@)}}} {{{#!if as.length>=20
53775378
[br]}}}@f@ {{{#!if bs[0]!=45
53785379
@b@}}}{{{#!if bs[0]==45
5379
(@b@)}}} {{{#!if (ma!=as)||(mb!=bs)||(+md==3)||(+md==4), false
5380
(@b@)}}} {{{#!if (ma!=as)||(mb!=bs)||(+md==3)||(+md==4)
53805381
{{{#!if (as.length+bs.length>=30)
53815382
[br]}}}→ {{{#!if ms=ma, ad!=-1
53825383
{{{#!if ms=ma.substr(0,ad)
5383
}}}}}}{{{#!if ms[0]==45
5384
}}}}}}{{{#!if (+md!=3)&&(+md!=4)
5385
{{{#!if ms[0]!=45
5386
@ms@}}}{{{#!if ms[0]==45
5387
(@ms@)}}}}}}{{{#!if (+md==3)||(+md==4)
5388
{{{#!if ms[0]==45
53845389
{{{#!if ms=ms.substr(1), ps=true
5385
}}}}}} @f@ {{{#!if ms=mb, bd!=-1
5390
}}}}}}{{{#!if tx=ms.length, ty=tx/(+md), tz=tx%(+md), tn=ms, tz>0
5391
{{{#!if tm=tn.substr(0,tz), tn=substr(tz)
5392
}}}}}}{{{#!if (ty>0)&&(tz>0)
5393
{{{#!if tm+=","
5394
}}}}}}{{{#!if ty-->0
5395
{{{#!if tm+=tn.substr(0,+md), tn=substr(+md)
5396
}}}}}}{{{#!if ty-->0
5397
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5398
}}}}}}{{{#!if ty-->0
5399
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5400
}}}}}}{{{#!if ty-->0
5401
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5402
}}}}}}{{{#!if ty-->0
5403
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5404
}}}}}}{{{#!if ty-->0
5405
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5406
}}}}}}{{{#!if !ps
5407
@tm@}}}{{{#!if ps
5408
(-@tm@)}}}}}} @f@ {{{#!if ms=mb, bd!=-1
53865409
{{{#!if ms=mb.substr(0,bd)
5387
}}}}}} }}}{{{#!if (bs.length>=20)||(as.length+bs.length>=30)
5410
}}}}}}{{{#!if (+md!=3)&&(+md!=4)
5411
{{{#!if ms[0]!=45
5412
@ms@}}}{{{#!if ms[0]==45
5413
(@ms@)}}}}}}{{{#!if (+md==3)||(+md==4)
5414
{{{#!if ms[0]==45
5415
{{{#!if ms=ms.substr(1), ps=true
5416
}}}}}}{{{#!if tx=ms.length, ty=tx/(+md), tz=tx%(+md), tn=ms, tz>0
5417
{{{#!if tm=tn.substr(0,tz), tn=substr(tz)
5418
}}}}}}{{{#!if (ty>0)&&(tz>0)
5419
{{{#!if tm+=","
5420
}}}}}}{{{#!if ty-->0
5421
{{{#!if tm+=tn.substr(0,+md), tn=substr(+md)
5422
}}}}}}{{{#!if ty-->0
5423
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5424
}}}}}}{{{#!if ty-->0
5425
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5426
}}}}}}{{{#!if ty-->0
5427
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5428
}}}}}}{{{#!if ty-->0
5429
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5430
}}}}}}{{{#!if ty-->0
5431
{{{#!if tm+=","+tn.substr(0,+md), tn=substr(+md)
5432
}}}}}}{{{#!if !ps
5433
@tm@}}}{{{#!if ps
5434
(-@tm@)}}}}}} }}}{{{#!if (bs.length>=20)||(as.length+bs.length>=30)
53885435
[br]}}}= {{{#!if rs!=""
53895436
}}}{{{#!if (f=="*")||(f=="/")
53905437
@ns@{{{#!if rs!=""
......