[#4137] Re-instate code removed during merge

- Decimal representations in NumberFormat view helper were broken due to
  bad merge.