presto-spi/src/main/java/io/prestosql/spi/type/Decimals.java/Decimals/encodeScaledValue
class Decimals:    public static Slice encodeScaledValue(BigDecimal value)
    {
        return encodeUnscaledValue(value.unscaledValue());
    }