Sorry my examples didn;t really match......however how can I format a
number any number to have 2 decimal places....can you give me an
example?
On Oct 31, 4:14 am, Cerebrus <[EMAIL PROTECTED]> wrote:
> Have you thought about the fact that 0.0000000345 isn't even nearly
> equivalent to 0.01 ? If you rounded it off, you would get 0.00. If
> that satisfies you, to format strings you can use the fixed format
> specifier("f").
>
> Example:
> 0.0000000345R.ToString("f")
>
> On Oct 31, 8:15 am, cmdolcet69 <[EMAIL PROTECTED]> wrote:
>
> > Im having a problem with a decalred variable. The variable is declared
> > as a double when I look at the file how its written out it writes out
> > as 0.0000000345 how can I format the number to two decimal places....
> > 0.01