爪哇公式型計算器   網頁編輯室   
可用滑鼠點選藍盤輸入, 最後點 EXEC 計算結果. 或者直接用鍵盤輸入計算式, 最後按 Enter 計算結果. 例一: sin(30/180*PI) 例二: document.bgColor="#ff0000" 例三: a=8;b=6; pow(a,b) 此計算器永遠計算最後一行指令. //範例: 使用者可在此視窗輸入程式, 然後按 RUN 執行 //請用滑鼠選取區塊, 然後清除此範例 var sum=0 wi=window.open(); wi.document.write("
")
for(i=1;i<=100;i++)
{sum+=i;
 wi.document.writeln(i+" "+sum);
}
wi.document.write("
") wi.document.close();
01 23 4EXEC RUNDEL CLR SIZE
5 67 89 explog log10log2 ceil
. +- */ sinasin sinhabs round
%e EPI ) cosacos cosh  floor
fac powsqrt ,( tanatan tanhrandom
單位轉換
討論區
掌上型計算器
write file

此計算器使用 javascript 語法, 請參考相關網站:java 教學

運算子:
數學: +  -  *  /  %  ++  --  =
位元: &  |  ^  -  <<  >>  >>>
比較: ==  >  <  >=  <=  !=  ===  !==
邏輯: &&  ||  !
結合: +=  -=  *=  /=  %=  &=  |=  ^=  <<= >>=
條件: ? :
函數
abs() ceil() floor() min() max() round() random()
exp() log() pow() sqrt()
sin() cos() tan() atan() acos() asin() atan2()
常數
E PI LN2 LN10 LOG2E LOG10E SQRT1_2 SQRT2

新增函數: 這些函數並非 javascript 內建函數. 只限此計算器使用, 不能用在 javascript 中.
fac() log10() log2() sinh() cosh() tanh()
對此計算器有任何建議, 請通知網頁編輯室. b
Copyright © 2004 Ka-In Yen, All rights reserved.
歡迎將此計算器網頁加入你的框架(frame)中. 此一授權, 僅限此一計算器網頁(javacal.html).