M
mlafarlett
In the example below, the 'convert.ToDecimal' removes the trailing 5.
I'd
like to get the number, in tact, moved to the decimal variable. Any
help would be greatly appreciated.
Dim dcml As Decimal
Dim dbl As Double = 544.4000244140625
dcml = Convert.ToDecimal(dbl)
Debug.WriteLine(dcml.ToString)
Thx, Michael
P.S. I think getting the double to a string would be a workaround
should the above not be
solved.
I'd
like to get the number, in tact, moved to the decimal variable. Any
help would be greatly appreciated.
Dim dcml As Decimal
Dim dbl As Double = 544.4000244140625
dcml = Convert.ToDecimal(dbl)
Debug.WriteLine(dcml.ToString)
Thx, Michael
P.S. I think getting the double to a string would be a workaround
should the above not be
solved.