Convert to length error
-
My code gives a Cannot convert "100.00mm" to length error on some computers but not on other computers. How is this possible?
I thought the problem was that some computers use a , instead of a . to indicate a decimal mark but changing the language input on those computers doesn't solve the problem.
-
Can't say with absolute certainty without seeing your code, but you are most likely right about the decimal point mark causing the error. Depending on your OS and its settings, the mark may or may not automatically change when you change the input language. You may have to change the locale and reboot.
Advertisement