ID

Uploaded

Status

Description

Work Items

Action

4221
by bluec76
Oct 24, 2009
1:45 PM

Being evaluated

I think you need to update your code in Latitude.cs, line 468:

if (Values[0].IndexOf(culture.NumberFormat.NumberDecimalSeparator) != -1 || Values[0].IndexOf(culture.NumberFormat.NumberDecimalSeparator) != -1)
{
throw new ArgumentException(Properties.Resources.Latitude_OnlyRightmostIsDecimal, "value");
}

You are performing the same check twice. Probably, you need to change the index of Values array from 0 to 1 (that is Values[1] - checking if minutes is a floating-point number).

Great job, by the way.

Regards

Chris

Download

View All
  • 1-1 of 1 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches