Greasy Fork 支持简体中文。

RandInt-Getter

get a stochastic integer in range

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/430439/1074311/RandInt-Getter.js

作者
CosilC
版本
0.1
建立日期
2021-08-07
更新日期
2022-07-26
尺寸
1.4 KB
授權條款
GPLv3

description

get a stochastic integer in range

usage

window.getRandInt(exp);

input a string exp like [|( -* \d+ , -* \d+ )|]

returns

a stochastic integer with type number in range