> 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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/CSharpNET/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
