public class DecimalUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toReusedFixLengthBytes(int precision,
int scale,
java.math.BigDecimal decimal,
byte[] reuseBuf)
Convert a
BigDecimal to reused fix length bytes, the extra bytes are filled according
to the signum. |