11 lines
157 B
TypeScript
Raw Normal View History

2023-12-18 10:03:28 +08:00
export default class NumberTools {
//随机
public GetRank(min, max) {
return Math.round(Math.random() * (max - min)) + min;
}
}