Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 457 Bytes

number.md

File metadata and controls

23 lines (13 loc) · 457 Bytes

Faker.Number

Faker.Number.number(10) //=> 1968353479

Faker.Number.decimal(2) //=> 11.88

Faker.Number.decimal(2, 3) //=> 18.843

Faker.Number.normal(50, 3.5) //=> 47.14669604069156

Faker.Number.hexadecimal(3) //=> "e74"

Faker.Number.between(1, 10) //=> 7

Faker.Number.betweenF(1.00, 10.00) //=> 7.662513545699108

Faker.Number.positive() //=> 235.59238499107653

Faker.Number.negative() //=> -4480.042585669558

Faker.Number.digit() //=> 1