Use .toFixed to handle signicant digits