public static BigInteger gcd(BigDecimal a, BigDecimal b) {
        BigInteger intA = a.toBigInteger();
        BigInteger intB = b.toBigInteger();
        return intA.gcd(intB);
    }
LcmFunction  ->  lcm(numeric1,numeric2)
description:
- Return NULL if any parameter is NULL
- Return 0 if either input is zero
- Return least common multiple (the smallest strictly positive number that is an integral multiple of both inputs)
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/arithmetic/LcmFunction.java