class Faker::Number

def between(from: 1.00, to: 5000.00)

Returns:
  • (Numeric) -

Parameters:
  • to (Numeric) -- The highest number to include.
  • from (Numeric) -- The lowest number to include.
def between(from: 1.00, to: 5000.00)
  Faker::Base.rand_in_range(from, to)
end