For small numbers, when applying formatting number converts to NaN 