random-float:产生随机浮动

时间:2021-04-29 03:18:22
【文件属性】:
文件名称:random-float:产生随机浮动
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-29 03:18:22
JavaScript 随机浮动 产生随机 安装 $ npm install random-float 用法 import randomFloat from 'random-float' ; randomFloat ( 5 ) ; //=> 4.401887938147411 randomFloat ( 10 , 100 ) ; //=> 72.34217455144972 原料药 randomFloat(maximum?) 返回从浮0到maximum 。 randomFloat(最小,最大) 返回从minimum到maximum的浮点数。 最低限度 类型: number 默认值: 0 返回的最小浮点数。 最大 类型: number 默认值: 1 返回的最大浮点数。 有关的 生成一个随机整数 item-从数组中获取随机项 获取随机布尔值 从对象获取随机密钥 从对象获取随机属性 生成连续唯一的随机数 un
【文件预览】:
random-float-main
----index.js(319B)
----test.js(1KB)
----package.json(824B)
----index.test-d.ts(184B)
----readme.md(1KB)
----.github()
--------workflows()
----license(1KB)
----index.d.ts(622B)
----.gitignore(23B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(19B)

网友评论