I am having a problem with differing decimal precision in different views.
Specifically when using a currency field in a custom module, the edit screen and the detail screen both show the number in the proper currency format of X,XXX.XX When on the list view however the number is displayed as X,XXX.XXXXXX Can anyone suggest a solution to this problem. I would like to display the number in the proper 2 decimal precision format for US currency.
Also I have a couple of decimal fields with precision of (3) and max size (8) however when viewing a number such as 5.375 the number is being rounded up to 5.38. Shouldn't the precision of (3) set the field to display a number with a precision of (3) as well?
These issues are causing many problems with my installation as consistency in display of currency and decimals is a must. Any suggestions on a fix would be greatly appreciated. The module in question was created with module builder and my version is 5.0.0b.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks