Parsing the text into doubles should be done in the map setup dialog and world generation config should be changed to use doubles instead of strings.