fix radixpoint handling
better decimal mask
Merge branch '1.x' into 2.x