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

Round() public static méthode

public static Round ( decimal d, int decimals ) : decimal
d decimal
decimals int
Résultat decimal
		public static decimal Round (decimal d, int decimals)
		{
			return Decimal.Round (d, decimals);
		}

Same methods

Math.Math::Round ( decimal d ) : decimal
Math.Math::Round ( decimal d, MidpointRounding mode ) : decimal
Math.Math::Round ( decimal d, int decimals, MidpointRounding mode ) : decimal
Math.Math::Round ( double a ) : double
Math.Math::Round ( double value, MidpointRounding mode ) : double
Math.Math::Round ( double value, int digits ) : double
Math.Math::Round ( double value, int digits, MidpointRounding mode ) : double