I'm using Ruby on Rails 4.2.3. If I store a number that has five decimal places in a database field that only allows two decimal places, is the number truncated or automagically rounded?
Does 10.12565 become 10.12 or 10.13?
The database field types for both are decimal data types.