I have a calculation that is taking one number minus another number. The result (a variable I named "strCents") comes out as an exponential number rather than just a type of double. How can I convert this exponential value to a data type of double?
Example:
The value being calculated is 6.55000000000001E-02. I want to convert this value to .0655. This value is dynamic so it won't always be in the format of #.####E-## except for the ending value of the exponential number which will always be in the format of E-##.
Is this possible? Thanks!
Example:
The value being calculated is 6.55000000000001E-02. I want to convert this value to .0655. This value is dynamic so it won't always be in the format of #.####E-## except for the ending value of the exponential number which will always be in the format of E-##.
Is this possible? Thanks!