Changed 'encode_float' decimal check to just always use 10 fractional digits when converting toExponential.  NOTE: some precision loss *could* occur for highly precise numbers of greater than 10 digits.