Class MathFunctions.RoundN

java.lang.Object
io.trino.operator.scalar.MathFunctions.RoundN
Enclosing class:
MathFunctions

public static final class MathFunctions.RoundN extends Object
  • Constructor Details

    • RoundN

      public RoundN()
  • Method Details

    • roundNShort

      public static long roundNShort(long numPrecision, long numScale, long num, long decimals)
    • roundNLong

      public static Int128 roundNLong(long numScale, long resultPrecision, Int128 num, long decimals)
    • roundNShortLong

      public static Int128 roundNShortLong(long numScale, long resultPrecision, long num, long decimals)