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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

String to Double

Hello, 

I have some input data in XLS which contains values for example (1176,77)

i want to transform this data in Double or Float to be used some Mathematic Calculations in theses values

 

I tryied Double.ParseDouble, but i got error

Exception in component tMap_1 (Study)
java.lang.NumberFormatException: For input string: "1176,77"

at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at sun.misc.FloatingDecimal.parseDouble(Unknown Source)

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Replace comma by point before to cast from string to double

View solution in original post

2 Replies
TRF
Champion II
Champion II

Replace comma by point before to cast from string to double
Anonymous
Not applicable
Author

Pefect, i didnt notice this stuff

Thanks