>Technical Support>"Display my last workout" script not handling 0 miles for the week
For the last few weeks (since about the time that Garmin Connect support was added) the "Display my last workout" script has had a problem when it rolls over to a new week for me. Instead of showing Week: 0, it shows Week: -79228162514264337593543950335. That's a 96-bit number that, as a developer, I've never encountered before, and I certainly haven't run negative miles this week. :-)
You can see the script's output right now (since I haven't uploaded any runs this week) at http://www.runningahead.com/logs/23fbfe3407d54034bb604d607cb56919/tools/scripts, and I've linked to a screen snippet below. Any chance you could fix that script (or the summary data in the warehouse that's confusing the script)? Thanks!
FWIW, that number appears to be System.Decimal.MinValue (https://msdn.microsoft.com/en-us/library/system.decimal.minvalue(v=vs.110).aspx).
Thanks for the report. It has been fixed. I think it was caused by the consolidation of internal objects.