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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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