validates_numericality_of accepts true, is this right?

Is validates_numericality_of supposed to accept true as a value for the following options

class Location < ActiveRecord::Base

   validates_numericality_of :longitude, :allow_nil => true, :greater_than_or_equal_to = -180, :less_than_or_equal_to = 180

end

place = Location.new() place.longitude = true assert place.save <- succeeds!

It's a decimal field.

It will do the same thing then.