What is a regular expression suitable for C# that\'ll validate a number if it matches the following?
$1,000,000.150 $10000000.199 $10000 1,
I think I've found a problem with ssg's solution (or perhaps an MS bug!).
Running this:
float.TryParse("0,2",NumberStyles.Currency, CultureInfo.GetCultureInfo("en-US"), out num)
Returns true. Surely "0,2" isn't a valid currency value?