Bug fixes to support  honoring of significant digits