Added checking for undefined and changed number formatting method
Added checking for undefined and changed number formatting method

Checking first and last number fields for undefined values and changed the number formatting method from toPrecision() to toFixed().

impactasaurus/app,impactasaurus/app,impactasaurus/app