#178 - numberFormat should accept numeric string

numberFormat accepts a numeric string, but fails on toFixed. This change makes sure we are dealing with a number before calling .toFixed()