Fix decimal field bug when using comma for separating decimals.