Interface SimpleNumberBigDecimalCoercer

All Known Implementing Classes:
SimpleNumberCoercerFactory.SimpleNumberCoercerBigDecDouble, SimpleNumberCoercerFactory.SimpleNumberCoercerBigDecLong

public interface SimpleNumberBigDecimalCoercer
Interface for number coercion resulting in BigInteger.
  • Method Details

    • coerceBoxedBigDec

      BigDecimal coerceBoxedBigDec(Number numToCoerce)
      Widen the number to BigDecimal, if widening is required.
      Parameters:
      numToCoerce - number to widen
      Returns:
      widened number
    • coerceBoxedBigDecCodegen

      CodegenExpression coerceBoxedBigDecCodegen(CodegenExpression expr, EPTypeClass type)