英語で読む 編集

次の方法で共有


Random.NextSingle Method

Definition

Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.

C#
public virtual float NextSingle();

Returns

A single-precision floating point number that is greater than or equal to 0.0, and less than 1.0.

Applies to

製品 バージョン
.NET 6, 7, 8, 9, 10