Hi,
Please note that you are confusing two different things, how the number is
store as a number and how it's displayed either as a number or as a
currency.
if you do double_var.ToString() it will remove the trailing 0 , if you do
double_var.ToString("C") you will get the currency representation of that
number.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"V. Jenks" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
I need to store money values in C# and I noticed when using
a float, the trailing zero was trimmed off automatically.
I don't want this, is there a native type that will *not*
do this so I can have my trailing zeros?
I want $0.10 not $0.1.....obviously that gives me serious
data issues.
Thanks!
-v