Resolves #130 - Fix to fromDouble companion function, which had a line attempting to remove extraneous trailing zeroes, which was not previously checking foe the presence of an exponent in the double string. This lead to wrong results when the exponent is present and ends in one or more zeroes (10, 20, 100, -10, etc...) Also doubleValue() previously could return a double with wrong exponent in some cases.
Resolves #130 - Fix to fromDouble companion function, which had a line attempting to remove extraneous trailing zeroes, which was not previously checking foe the presence of an exponent in the double string. This lead to wrong results when the exponent is present and ends in one or more zeroes (10, 20, 100, -10, etc...) Also doubleValue() previously could return a double with wrong exponent in some cases.