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.
For data exports, it's often more useful to have the un-formatted payment amount (e.g. so excel can do sums). This could be an option on the field handler.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2907003-3-make_formatting_amount_an_option.patch | 1.98 KB | andrewbelcher |
#2 | 2907003-make_formatting_amount_an_option.patch | 2.03 KB | andrewbelcher |
Comments
Comment #2
andrewbelcher CreditAttribution: andrewbelcher at FreelyGive commentedHere's a patch that does it, with the appropriate schema.
Comment #3
andrewbelcher CreditAttribution: andrewbelcher at FreelyGive commentednumber_format()
is more suitable than round I think...