The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] String to number: parse(text) in Generate Attribute
Hello folks,
i have two attributes which are saved as polynomials/text. Now I want to parse them from text to numbers so i can make some calculations.
The attributes can look like this:
1.500,00
567,00
318,18
When I try to parse those to numbers RapidMiner tells me e.g. "String '567,00' is not a number."
Another problem is the dot in numbers bigger than 999, like 1.500,00.. In calculations RapidMiner takes this a a comma and thinks its "1,5" and not 1500.
How can i convert those numbers correctly?
Thank you very much!
Best regards,
PASEE
i have two attributes which are saved as polynomials/text. Now I want to parse them from text to numbers so i can make some calculations.
The attributes can look like this:
1.500,00
567,00
318,18
When I try to parse those to numbers RapidMiner tells me e.g. "String '567,00' is not a number."
Another problem is the dot in numbers bigger than 999, like 1.500,00.. In calculations RapidMiner takes this a a comma and thinks its "1,5" and not 1500.
How can i convert those numbers correctly?
Thank you very much!
Best regards,
PASEE
Tagged:
0
Answers
you can use "Parse numbers" with ',' as decimal character and '.' as grouping character.
Have a look here: Best,
Nils
thank you
Best,
Nils
mein problem ist damit gelöst!