1. 首页
  2. 编程语言
  3. 其他
  4. hcalc中文计算器

hcalc中文计算器

上传者: 2019-01-02 05:15:55上传 ZIP文件 145KB 热度 36次
完美的中、英文表达式计算器。解压即可使用无需安装! 回车它将把最后一行做为输入的表达式进行计算并把结果在下一行输出! 例如: 输入“3.14”它输出“3.14” 输入“y=sin(3.1415926)”它输出“0” 并且以后可以直接使用“y” 输入“"when "+ "i" + "was " +10 +"."”它输出“when i was 10.” 增强中文支持,可以用记事本在SCRIPT.HL中编辑这样的函数:double average(int a,int b){ average=(a+b)÷2; }支持中文变量名,支持自己编写函数,用法语内部函数一样!现有内部函数:double sin (double x);< ;br>double cos (double x);double cosh (double x);double exp (double x);double log (double x);double log10 (double x);double sinh (double x);double sqrt (double x);double acos (double x);double asin (double x);double atan (double x);double tan (double x);double tanh (double x);double pow (double x, double y);double atan2 (double x, double y);double fmod (double x, double y); ;br>double cos (double x);double cosh (double x);double exp (double x);double log (double x);double log10 (double x);double sinh (double x);double sqrt (double x);double acos (double x);double asin (double x);double atan (double x);double tan (double x);double tanh (double x);double pow (double x, double y);double atan2 (double x, double y);double fmod (double x, double y);
用户评论