Skip to content

Instantly share code, notes, and snippets.

@Kotlin-Native
Created July 10, 2015 08:01
Show Gist options
  • Select an option

  • Save Kotlin-Native/ab04825954b4e0a43f14 to your computer and use it in GitHub Desktop.

Select an option

Save Kotlin-Native/ab04825954b4e0a43f14 to your computer and use it in GitHub Desktop.
private BigDecimal processNumberInput(String numberString)
throws ParseException {
Number number = numFormatGerman.parse(numberString);
...
String internalAmountString = numFormatEnglish.format(number);
...
return new BigDecimal(internalAmountString);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment