Fix: `number` rendering helper couldn't use anything thing other than a dot (`.`) as the decimal place

* See thread 21315 for details