Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ganeshK
Contributor
Contributor

How to convert multi decimal points value to integer. Input: 183.00.00 Expected Output: 183

Current expression: (int)Double.parseDouble("183.00.00")

 

Error:

java.lang.NumberFormatException: multiple points

at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1914)

at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)

at java.lang.Double.parseDouble(Double.java:538)

 

Please advise.

Labels (1)
  • Other

0 Replies