471,605 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

Convert Price.ToString("C2") to decimal again?

Hi,

Suppose decimal Price contains 12,3. Price.ToString("C2") gives 12,30 ?
(yes, I'm located in Europe).

What would be the best way to convert this string to a decimal again?

Steven

- - -
Jan 21 '06 #1
1 2631
See the Decimal.Parse method.
http://msdn.microsoft.com/library/de...parsetopic.asp

--
Tim Wilson
..NET Compact Framework MVP

"Steven Spits" <so*****@company.com> wrote in message
news:%2*****************@TK2MSFTNGP12.phx.gbl...
Hi,

Suppose decimal Price contains 12,3. Price.ToString("C2") gives 12,30 ?
(yes, I'm located in Europe).

What would be the best way to convert this string to a decimal again?

Steven

- - -

Jan 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Martin | last post: by
1 post views Thread by Steven Spits | last post: by
3 posts views Thread by David Lozzi | last post: by
5 posts views Thread by Andrea | last post: by
3 posts views Thread by Aaron | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.