fix decimal point issue in non-English culture

Double.ToString will contain comma if culture is EU instead of en-US
(for example, x="2,3" instead of "2.3")