Always use '.' as decimal separator.

Changes done to fix #12757 and #10311 led to the separator depending on
the locale.

Change-Id: Ic6e636d3301886154a690307fb0ba2d40b00c48d