ICU BigDecimal does not support negative scale

Description

A constructor in BigDecimal takes "scale".

public BigDecimal(BigInteger bi, int scale)

When negative scale is specified, this constructor throws NumberFormatException as documented. The behavior is same in JDK1.4. But since JDK1.5, Java supports negative scale value. ICU should support the negative scale value too.

Status

Assignee

Yoshito Umaoka

Reporter

Yoshito Umaoka

Labels

Reviewer

None

Time Needed

Days

Start date

None

Components

Priority

assess