Skip to content

Commit

Permalink
docs: fix faker.datatype.number document
Browse files Browse the repository at this point in the history
  • Loading branch information
marcy committed Jun 3, 2022
1 parent f408d42 commit ba1a431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/datatype/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Datatype {
* @example
* faker.datatype.number() // 55422
* faker.datatype.number(100) // 52
* faker.datatype.number({ min: 1000000 }) // 431433
* faker.datatype.number({ min: 1000000 }) // 1031433
* faker.datatype.number({ max: 100 }) // 42
* faker.datatype.number({ precision: 0.01 }) // 64246.18
* faker.datatype.number({ min: 10, max: 100, precision: 0.01 }) // 36.94
Expand Down

0 comments on commit ba1a431

Please sign in to comment.