presto-main/src/main/java/io/prestosql/type/DecimalCasts.java/DecimalCasts/longDecimalToJson
class DecimalCasts:    @UsedByGeneratedCode
    public static Slice longDecimalToJson(Slice decimal, long precision, long scale, BigInteger tenToScale)
    {
        return decimalToJson(new BigDecimal(decodeUnscaledValue(decimal), DecimalConversions.intScale(scale)));
    }