Cast exception (string to double) only on some devices. Why?

  • Thread starter Thread starter silverfox
  • Start date Start date
S

silverfox

I am getting a cast exception converting a string to double. But the
problem doesn't exist on every device or in the VS 2008 emulator. I
have been testing with a PPC 2003 Dell Axim X30 and there is no
problem. But now I find out that a WM 2003 2nd Edition device
(Samsung Sch i730) chokes with the cast exception. 1.) Why is this?
2) Is there a way around it?
 
Sorry, I think I was mistaken. I believe I got the
InvalidCastException because I was trying to convert an empty string
in the failing case and valid numbers in all my test cases.
 
Back
Top