I'm looking for a short and elegance solution, such as some method.
If it's possible to use method like this:
public Double getDoubleFromString(String string); (inside this method it's needed to get current locale because of different GroupingSeparator and DecimalSeparator in different locales)