jascamMigrationTest / WorkItemMigration

0 stars 0 forks source link

SvgAnimatedNumber Bug #45

Closed jascam closed 7 years ago

jascam commented 7 years ago

There is a bug in SvgAnimatedNumbers.cs: public SvgAnimatedNumber(string str) { baseVal = SvgNumber.ParseNumber(str); animVal = baseVal; }

This is a problem on systems with other decimal separator then ".". I think this is the fix: public SvgAnimatedNumber(string str) { baseVal = Double.Parse(str, SvgNumber.Format); animVal = baseVal; }

I checked all double.Parse() code lines. They look to be correct.

This work item was migrated from CodePlex

CodePlex work item ID: '1858' Vote count: '1'

jascam commented 7 years ago

[KingKnecht@1/11/2015] Forget it, I just saw that on codeplex the fix is present. First pasted example is fixed!.

jascam commented 7 years ago

[UnknownUser@1/26/2015]