Skip to content

Valid number format

Julia Glaszka edited this page Jul 11, 2023 · 1 revision

Tradukisto can handle only values with no more than two digits after the decimal point.

Otherwise, IllegalArgumentException will be thrown.

For that reason, you should either construct BigDecimal object based on the String value or use setScale method to ensure that the given value has appropriate precision.