📜  typescript random int - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:32.158000             🧑  作者: Mango

代码示例5
int random = (int) (Math.random()*(max-min+1)+min);