Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Not sure why, but when I input values with decimals, the sum column gets really excited and adds a bunch more decimal places.
Here is a screenshot of what I'm seeing: https://img.skitch.com/20110816-paheqecayid28ts6ghd22scau9.png
I've tried storing the protein field as a float or even as just a string with the same result. In my view I have also tried displaying the values as "computed value" as well as "raw text."
Any idea what might be happening here?
Comments
Comment #1
gthing CreditAttribution: gthing commentedThis appears to only effect fields that are less than zero:
https://img.skitch.com/20110817-tgw9yr5t9qcpjaxsr12n7y9kd5.png
edit: I take it back - it seems to happen randomly:
https://img.skitch.com/20110817-juw1hgykdux2yc3ep2915ud51a.png
Comment #2
miro_dietikerYou should define the precision.
Note that with precisionless floating point numbers, values are never exact and depend presentation settings for accuracy...
Comment #3
KarenS CreditAttribution: KarenS commentedThe D6 version is no longer supported.