Updated with simplified quote equation and added numerals for number formatting