java.lang.NumberFormatException: For input string: \"159933.0\" occurs in Data AcQuisition (DAQ) created with e Builder.

 
[Answer]
When using a get function of record, it acquires a field value of number type to one decimal place, and an error occurs when parseInt is done to it.
You can avoid this problem by modifying the generated source as follows.
data.setInfoKey((int) Double.parseDouble(record.get("XXX").toString());

-- Target ------------------------------------------------------------------------
iWP/Extensions Series/eBuilder
----------------------------------------------------------------------------------


FAQID:127
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk