틀:계산기2/core

수정됨
as : "a" value to string; bs : "b" value to string;
al : "a" string length (integer); bl : "b" string length (integer)
ad : "a" decimal point (integer); bd : "b" decimal point (integer);
au : gold "a" upper value (string→integer); bu : "b" upper value (string→integer);
ab : "a" below value (string→integer); bb : "b" below value (string→integer);
ap : "a" # of places of decimal (for addition or subtraction);
ac : a constant of "a" for division (integer);
bp : "b" # of places of decimal (for addition or subtraction);
bc : a constant of "b" for division (integer);
0.303과 0.0303은 다른 수이므로 자리수가 다름을 표시할 용도
ru : "result" upper value (integer→string); rb : "result" below value (integer→string);
rp : "result" # of places of decimal (integer);
rs : "result" suprerior value (integer→string); ri : "result" inferior value (integer→string);
i : index;
tu : temporary value 1 (integer); tv : temporary value 2 (integer);
tw : temporary value 3 (integer); tx : temporary value 4 (integer→string);
ty : temporary value 5 (integer); tz : temporary value 6 (integer);
pd : padding with zeros. (string)
ps : pass (logical); ts : not about gender test (logical) ; br : break (logical);
ea : error code about "a" (integer); eb : error code about "b" (integer);
wa : warning code about "a" (integer); wb : warning code about "b" (integer);
ma : message about "a" (string); mb : message about "b" (string);
tm : temporary string, or transaction message (string); tn : temporary string 2 (string);
ns : negative sign for multiplication and division (string);








sa : searching a (logical); sb : searching b (logical); sf : searching f (logical);
ps : pass (logical);
ad : "a" decimal point of string variable 'ma' (integer);
bd : "b" decimal point of string variable 'mb' (integer);
md : displaying mode number (string→integer); ms : message for correction (string)
tm : temporary string, or transaction message (string); tn : temporary string 2 (string);
tx : temporary value 1 (integer); ty : temporary value 2 (integer); tz : temporary value 3 (integer);
comment : comment (string);
변수 a와 변수 b, 그리고 연산자 f를 입력하세요...
#if (위키==구버전)
##the seed 구버전 커스텀 전용. (Imitated Seed 라던지)

{{{#!if previous=true
}}}





본 문서는 더시드위키의 틀:계산기2(r369 판) 문서에서 가져왔습니다.
CCL BY 조항에 따라 틀:계산기2 문서의 이전 역사를 확인할 수 있습니다.
  • 틀:계산기2는 사칙연산의 결과값을 the seed 엔진에서 지원되는 integer long과 float의 표시 한계를 넘어서 보여줍니다. (단, 나눗셈은 소수점 아래 36자리까지만 보여줍니다.) 두 수의 입력범위는 소수점 위 최대 18자리, 소수점 아래 최대 18자리이며 상황에 따라 오류 문구나 경고 문구를 볼 수 있습니다. 테스트 결과는 여기와 그 원문(RAW)을 참고할 수 있으며, 본 틀에 기입되어 있는 설명 및 주석들(일부 제외)을 모두 제거하고 순 if문과 wiki style로만 남긴 틀으로는 따로 틀:계산기2/core가 있습니다. 원작은 열광하듯이 wiki style로 만들어진 틀:구 계산기틀:구 계산기2, 틀:계산기를 참고할 수 있습니다.
    [include(틀:계산기2, a= ,b= ,f=, md=)]

    본 틀은 위 방식으로 호출할 수 있으며, 틀 안에 사용된 다른 변수들을 고르고 틀을 호출하더라도 계산에 사용되는 모든 변수값들은 초기화한 다음 계산이 진행되므로 계산 결과 및 출력에 영향을 주지 않습니다.
    • a, b : [필수 입력] ()
    • f : [필수 입력] (사칙연산 기호. 곧 "+", "-", "*", "/" 중 선택)
    • md : [추가 가능] (묶어 나타낼 자릿수. 3 또는 4가 지원됩니다.)