Great work but a little bug...

3 views
Skip to first unread message

Vugar Miriyev

unread,
Oct 18, 2010, 10:33:50 AM10/18/10
to Sea Turtle Batch Image Processor
Just put CultureInfo.InvariantCulture for avoid exception

public object Convert(object value, Type targetType, object parameter,
CultureInfo culture)
{
if (value is double) {
double valueA = double.Parse(value.ToString(),
CultureInfo.InvariantCulture);
double valueB = double.Parse(parameter.ToString(),
CultureInfo.InvariantCulture);
return valueA * valueB;
} else {
return value;
}
}

Try to update if will find new ones.

Hardy

unread,
Oct 18, 2010, 11:51:36 AM10/18/10
to Sea Turtle Batch Image Processor
Great! Thanks for pointing out, I will verify and include the change
in next release.
Reply all
Reply to author
Forward
0 new messages