Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2010 at 22:53 UTC
Updated:
6 Nov 2010 at 21:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mfbAdd a test. This test fails without the patch and (hopefully) passes with the patch.
Comment #2
bleen commentedshould we also add s couple of negative tests? for example, if scale = 4, then 1.23456 should fail.
Comment #3
mfbThis is obviously a bare minimum of tests. FYI if you exceed the scale it doesn't fail per se It just doesn't store the extra decimals.
Comment #4
yched commentedThis looks good.
Comment #5
webchickAwesome, thanks!
Committed to HEAD.