You need to sign in to do that
Don't have an account?

Help with Invalid Double error message
I have a history table that tracks changes to a percent field. If I try to read the history table and convert the NewValue field with :
mydouble = double.valueof(h.NewValue);
I get the following error message:
09:20:52.384|METHOD_ENTRY|[84]|Double.valueOf(Object)
09:20:52.385|EXCEPTION_THROWN|[84]|System.TypeException: Invalid double: 34.98564317560156
Why is that value not a valid double ?
Thanks,
Bill
Does it work if you convert to a string or decimal instead?
I also have seen this 'Invalid Double error message'.
I don't know the reason for this error. However you may use "mydouble = (Double)(h.NewValue);" syntax to avoid this problem.