You need to use double.ToString("Fn") where n is the number of decimal
digits you need:
double d = 27.5673;
Debug.Write(d.ToString("F2"));
produces
27.57
Notice the rounding being done.
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"Keven Corazza" <(E-Mail Removed)> wrote in message
news:1A74F71B-3FAD-4E95-954E-(E-Mail Removed)...
> Sorry for the stupid question but,
>
> how can I convert a double to string by setting the number of decimal
> digits ?
>
> Thank you in advance.
>
> Keven Corazza
>