Simple and dirty number formatter based on d3.format