LoginSignup
1
0

More than 3 years have passed since last update.

Randomクラスに間隔をもたせるには

Posted at

Randomクラスをもちいて一定間隔ごとに数値を取り出すにはどうすればよいですか?
例えばRandom.Range(0f,100f)とした際に0,10,20,30…というように10の間隔ごとに数値を出すというような場合です。

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0