Hi
I have a decimal numbers showing up on my datagrid that is displaying
lots of trailing zeros in the listbox.
i.e. 1.000100
or 1.000000
I want to get rid of all the trailing zeros (I don't want to do any
rounding).
I've tried to use:
number.tostring.format("##0.00")
or
number.tostring.format("{##0.00}"), but all I got was the characters
##0.00 displayed instead!
Actually the original code is like this:
row("Rate").ToString.Format("##0.00")
Where "rate" is a decimal (it's actually a percentage).
I'm very confused! Can you help?
Cheers!
Alex