support 0. and 0.0 format for XYZ format