We're updating the issue view to help you get more done. 

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.

Environment

Status

Assignee

Yoshito Umaoka

Reporter

Yoshito Umaoka

Labels

Time Needed

Days

tracCc

shane

tracCreated

Jan 11, 2008, 9:20 PM

tracOwner

yoshito

tracProject

ICU4J

tracReporter

yoshito

tracStatus

accepted

tracWeeks

1

Components

Priority

assess