This non-strict equality can cause unexpected behaviours, since, for example, `"" == null`. So it would be impossible to avoid the thousands separator in the formatted string.

Please use `isset($decPoint)` here and in the followings.