Made application work in cultures not using . as decimal separator