math:基于数学的实用程序

时间:2021-05-04 22:36:38
【文件属性】:
文件名称:math:基于数学的实用程序
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-04 22:36:38
math JavaScript 数学 数学库包含了一组编写或收集的数学方程式,使我的生活更轻松。 安装 npm install --save @danehansen/math 用法 作为一个模块: import * as math from '@danehansen/math'; var r = math.random(1, 100, true); 在浏览器中: [removed][removed] [removed] var math = window.danehansen.math; var r = math.random(1, 100, true); [removed] 方法 平均(... args):数字接受数量不限的数字或数字数组,并返回总数。 ceil (数字:数字,增量:数字= 1):数字将数字四舍五入到最接近的增量。 circleI
【文件预览】:
math-master
----.gitignore(79B)
----.babelrc(939B)
----webpack.dev.js(152B)
----package.json(2KB)
----src()
--------math.js(5KB)
--------index.html(287B)
----LICENSE.txt(1KB)
----webpack.prod.js(151B)
----README.md(5KB)
----webpack.common.js(409B)
----index.html(6KB)
----danehansen-math.min.js(14KB)
----test()
--------test.js(19KB)

网友评论