フィールド · Int
フィールド · Int · number.int. 生成メソッド · 例
number.int
生成設定
生成したデータはここに表示されます。
パラメーター & 例
Returns a single random integer between zero and the given max value or the given range. The bounds are inclusive.
number.int(options?: number | { min?: number; max?: number; multipleOf?: number; distributor?: Distributor; })- options
- Maximum value or options object.
- options.min
- Lower bound for generated number. Defaults to 0.
- options.max
- Upper bound for generated number. Defaults to Number.MAX_SAFE_INTEGER.
- options.multipleOf
- Generated number will be a multiple of the given integer. Defaults to 1.
- options.distributor
- A function to determine the distribution of generated values. Defaults to uniformDistributor().
例
6017037544686572テスト環境で合成データを使用してください。