public override ISqlValue Modulo(ISqlValue a, ISqlValue b) { if (!(a is SqlNumber) || !(b is SqlNumber)) { return(SqlNull.Value); } var x = (SqlNumber)a; var y = (SqlNumber)b; return(SqlMath.Remainder(x, y)); }
public static SqlNumber operator %(SqlNumber a, SqlNumber b) { return(SqlMath.Remainder(a, b)); }