Dim dblValue As Double = 55.0000
Convert.ToDecimal(dblValue)
or
FormatNumber(dblValue, 2)
The second parameter specifies the number of digits to the right of the
decimal place that should be displayed.
"Ron" <ro*@razorvision.net> wrote in message
news:bd********@library2.airnews.net...
Can anyone tell me how I can remove a few zero's from the end of a double?
For example, the number I have is 55.0000, the number I need is 55.00.
How can I go about trimming the zeros?
Thanks,
Ron