By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,027 Members | 1,236 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,027 IT Pros & Developers. It's quick & easy.

Get format from NumberFormatInfo

P: n/a
All,

I have a NumberFormatInfo object with specific setting (i.e. number of
decimals, thousands separator, decimal separator, currency symbols,
etc.) based upon my application, not my system's setting.

Is there any methods, etc. to get a string that contains the format
based upon this object?

For example, if my decimals are set to 3, can I somehow have this
object return a format like "999,999.999"? Or do I have to create a
method to do this?

Thanks in advance!
Dave Wurtz

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I forgot to mention that I would like to use the "new" format
expressions to get this "old" format string:

NumberFormatInfo.GetOldFormat("n") // returns "999,999.999"

Thanks.
Dave Wurtz

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.