English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
As shown below:
Abs returns the absolute value of the specified number.
Acos returns the angle whose cosine is the specified number.
Asin returns the angle whose sine is the specified number.
Atan returns the angle whose tangent is the specified number.
Atan2 Returns the angle whose tangent is the quotient of two specified numbers.
BigMul generates two 32 Complete product of bit digits.
Ceiling returns the smallest integer greater than or equal to the specified number.
Cos returns the cosine of the specified angle.
Cosh returns the hyperbolic cosine of the specified angle.
DivRem calculates the quotient of two numbers and returns the remainder in the output parameters.
Exp returns e to the specified power.
Floor returns the largest integer less than or equal to the specified number.
IEEERemainder returns the remainder when one specified number is divided by another specified number.
Log returns the logarithm of the specified number.
Log10 Returns the specified number to 10 Logarithm to the base.
Max returns the larger of the two specified numbers.
Min returns the smaller of the two numbers.
Pow returns the specified power of the specified number.
Round rounds the value to the nearest integer or to the specified number of decimal places.
Sign returns the value representing the sign of the number.
Sin returns the sine of the specified angle.
Sinh returns the hyperbolic sine of the specified angle.
Sqrt returns the square root of the specified number.
Tan returns the tangent of the specified angle.
Tanh returns the hyperbolic tangent of the specified angle.
Truncate calculates the integer part of a number.
E represents the base of natural logarithms, which is specified by the constant e.
PI represents the ratio of the circumference of a circle to its diameter, which is specified by the constant n.
This is the full content of the summary of all the math class methods in C# that the editor has brought to you, I hope it will be helpful to everyone, please support and cheer for the tutorial~