Replaced usage of Str.formatNumber() by toLocaleString()