fields received by the fields_get call sometimes have a digit precision. This commit makes sure that it is used when formatting the cells to be displayed.