Fixes #88 issue with invalidly encoding 0 for floats and doubles.