Fixed culture issues when formatting numbers.