Replaced custom method with toFixed()