System.Math.Math.DivRem C# (CSharp) Méthode

DivRem() public static méthode

public static DivRem ( int a, int b, int &result ) : int
a int
b int
result int
Résultat int
		public static int DivRem (int a, int b, out int result)
		{
			result = (a % b);
			return (int)(a / b);
		}

Same methods

Math.Math::DivRem ( long a, long b, long &result ) : long