Skip to content

Commit

Permalink
Add note that Number.between is inclusive in docs (#1177)
Browse files Browse the repository at this point in the history
* Add note that Number.between is inclusive

* update documentation for Faker::Number.between

- include required parameters
- fix typo
  • Loading branch information
Zeragamba authored and vbrazo committed May 12, 2018
1 parent 991339b commit 4ac9454
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Faker::Number.normal(50, 3.5) #=> 47.14669604069156
# Required parameter: digits
Faker::Number.hexadecimal(3) #=> "e74"

# Required parameters: minimum value, maximum value
# Boundary numbers are inclusive
Faker::Number.between(1, 10) #=> 7

Faker::Number.positive #=> 235.59238499107653
Expand Down

0 comments on commit 4ac9454

Please sign in to comment.