public static long cast(BigDecimalValue x, long y) { return x.longValue(); }
public static long cast(BigDecimalValue x, long y) { return x.longValue(); }
public static BigIntegerValue cast(BigDecimalValue x, BigIntegerValue y) { if (x == null) { return null; } return new BigIntegerValue(String.valueOf(x.longValue()), x, false); }
public static LongValue cast(BigDecimalValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
public static LongValue cast(BigDecimalValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
public static BigIntegerValue cast(BigDecimalValue x, BigIntegerValue y) { if (x == null) { return null; } return new BigIntegerValue(String.valueOf(x.longValue()), x, false); }