[ // ### E 属性 ### //### LN2 属性 ### //### 属性 ### //### 属性 ### //### 属性 ### //### 属性 ### //### 属性 ### //### 属性 ### //### Math.abs(绝对值)、Math.sin(正弦)、Math.cos(余弦)、Math.tan(正切值)、Math.asin(反正弦)、Math.acos(反余弦)、Math.atan(反正切)、Math.sinh(双曲正弦)、Math.cosh(双曲余弦)、Math.tanh(双曲正切值)、Math.asinh(双曲反正弦)、Math.acosh(双曲反余弦)、Math.atanh(双曲反正切)、Math.sqrt(平方根)、Math.cbrt(立方根)、Math.exp(e(自然对数的底)的幂)、Math.log(自然对数(e为底))、Math.log10(10为底的对数)、Math.log1p(1+参数的 自然对数(e为底))、Math.log2(2为底的对数)、Math.ceil(大于或等于的最小整数)、Math.floor(小于或等于的最大整数)、Math.fround(浮点数)、Math.random(0到1的随机数)、Math.round(四舍五入到整数)、Math.sign(数字是否为正)、Math.trunc(去除小数部分) ### //### 、Math.hypot(参数平方和的平方根(多个参数))、Math.max()、Math.min() ### //### add加法、sub减法、mul乘法、div除法、mod取余数 ### { "name": "number.E", "contents": ["自然对数的底数e"], "class": "number.E", "extend": "$Expression" }, { "name": "number.E", "contents": ["自然对数的底数e"], "class": "number.E", "extend": "$Expression" }, { "name": "number.LN2", "contents": ["2的自然对数"], "class": "number.LN2", "extend": "$Expression" }, { "name": "number.LN10", "contents": ["10的自然对数"], "class": "number.LN10", "extend": "$Expression" }, { "name": "number.LOG2E", "contents": ["以2为底E的对数"], "class": "number.LOG2E", "extend": "$Expression" }, { "name": "number.LOG10E", "contents": ["以10为底E的对数"], "class": "number.LOG10E", "extend": "$Expression" }, { "name": "number.PI", "contents": ["圆周率"], "class": "number.PI", "extend": "$Expression" }, { "name": "number.SQRT1_2", "contents": ["1/2的平方根"], "class": "number.SQRT1_2", "extend": "$Expression" }, { "name": "number.SQRT2", "contents": ["2的平方根"], "class": "number.SQRT2", "extend": "$Expression" }, { "name": "number.Math", "contents": [ {"type": "select", "options": [ "abs(绝对值)|abs", "sin(正弦)|sin", "cos(余弦)|cos", "tan(正切值)|tan", "asin(反正弦)|asin", "acos(反余弦)|acos", "atan(反正切)|atan", "sinh(双曲正弦)|sinh", "cosh(双曲余弦)|cosh", "tanh(双曲正切值)|tanh", "asinh(双曲反正弦)|asinh", "acosh(双曲反余弦)|acosh", "atanh(双曲反正切)|atanh", "sqrt(平方根)|sqrt", "cbrt(立方根)|cbrt", "exp(e的幂)|exp", "log(自然对数)|log", "log10(10为底的对数)|log10", "log2(2为底的对数)|log2", "ceil(向上取整)|ceil", "floor(向下取整)|floor", "fround(单精度浮点数)|fround", "random(0到1的随机数)|random", "round(四舍五入到整数)|round", "sign(数字是否为正)|sign", "trunc(去除小数部分)|trunc" ], "default": "Math"}, {"type": "inputMortise","default": "","tenonTypes": []}, ], "class": "number.Get", "extend": "$Expression" }, { "name": "number.Math2", "contents": [ {"type": "select", "options": [ "max(最大数)|max", "min(最小数)|min", "hypot(平方和的平方根)|hypot" ], "default": "Math"}, {"type": "inputMortise","default": "","tenonTypes": []}, {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "number.Math2", "extend": "$Expression" }, { "name": "number.pow", "contents": [ {"type": "inputMortise","default": "","tenonTypes": []}, "的", {"type": "inputMortise","default": "","tenonTypes": []}, "次方" ], "class": "number.Pow", "extend": "$Expression" }, { "name": "number.Decimal", "contents": [ {"type": "inputMortise","default": "","tenonTypes": []}, {"type": "select", "options": [ "加|add", "减|sub", "乘|mul", "除|div", "余|mod" ], "default": "Math"}, {"type": "inputMortise","default": "","tenonTypes": []} ], "class": "number.Decimal", "extend": "$Expression" } ]