Newtz, Brian wrote:
> double d = 1433.9475;
> TextBox t = new TextBox();
>
> t.Text = d.ToString("f2");
>
> The "f" stands for fixed-point format and the 2 means two decimal
> places.
> You can find more format specifiers by looking up
> System.Globalization.NumberFormatInfo.

Thanks That allot cleaner then this:

this.mmTextBox9.Text = System.Convert.ToString(decimal.Round(lnAmt,2) )


Stephen Russell
S.R. & Associates
Memphis, TN 38115

Nothing but a deficit grows under a Bush.

901.246-0159


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=298184.5584357.6650215.3001176/D=groups/S=:HM/A=2426682/rand=573770383


Yahoo! Groups Links

Reply via email to