Math Klasa
Definicja
Zapewnia stałe i statyczne metody dla kątów, logarytmu i innych typowych funkcji matematycznych.Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.
public ref class Math abstract sealed
public static class Math
type Math = class
Public Class Math
- Dziedziczenie
-
Math
Przykłady
W poniższym przykładzie zastosowano kilka funkcji matematycznych i trygonometrycznych z Math klasy w celu obliczenia wewnętrznych kątów trapezu.The following example uses several mathematical and trigonometric functions from the Math class to calculate the inner angles of a trapezoid.
/// <summary>
/// The following class represents simple functionality of the trapezoid.
/// </summary>
using namespace System;
public ref class MathTrapezoidSample
{
private:
double m_longBase;
double m_shortBase;
double m_leftLeg;
double m_rightLeg;
public:
MathTrapezoidSample( double longbase, double shortbase, double leftLeg, double rightLeg )
{
m_longBase = Math::Abs( longbase );
m_shortBase = Math::Abs( shortbase );
m_leftLeg = Math::Abs( leftLeg );
m_rightLeg = Math::Abs( rightLeg );
}
private:
double GetRightSmallBase()
{
return (Math::Pow( m_rightLeg, 2.0 ) - Math::Pow( m_leftLeg, 2.0 ) + Math::Pow( m_longBase, 2.0 ) + Math::Pow( m_shortBase, 2.0 ) - 2 * m_shortBase * m_longBase) / (2 * (m_longBase - m_shortBase));
}
public:
double GetHeight()
{
double x = GetRightSmallBase();
return Math::Sqrt( Math::Pow( m_rightLeg, 2.0 ) - Math::Pow( x, 2.0 ) );
}
double GetSquare()
{
return GetHeight() * m_longBase / 2.0;
}
double GetLeftBaseRadianAngle()
{
double sinX = GetHeight() / m_leftLeg;
return Math::Round( Math::Asin( sinX ), 2 );
}
double GetRightBaseRadianAngle()
{
double x = GetRightSmallBase();
double cosX = (Math::Pow( m_rightLeg, 2.0 ) + Math::Pow( x, 2.0 ) - Math::Pow( GetHeight(), 2.0 )) / (2 * x * m_rightLeg);
return Math::Round( Math::Acos( cosX ), 2 );
}
double GetLeftBaseDegreeAngle()
{
double x = GetLeftBaseRadianAngle() * 180 / Math::PI;
return Math::Round( x, 2 );
}
double GetRightBaseDegreeAngle()
{
double x = GetRightBaseRadianAngle() * 180 / Math::PI;
return Math::Round( x, 2 );
}
};
int main()
{
MathTrapezoidSample^ trpz = gcnew MathTrapezoidSample( 20.0,10.0,8.0,6.0 );
Console::WriteLine( "The trapezoid's bases are 20.0 and 10.0, the trapezoid's legs are 8.0 and 6.0" );
double h = trpz->GetHeight();
Console::WriteLine( "Trapezoid height is: {0}", h.ToString() );
double dxR = trpz->GetLeftBaseRadianAngle();
Console::WriteLine( "Trapezoid left base angle is: {0} Radians", dxR.ToString() );
double dyR = trpz->GetRightBaseRadianAngle();
Console::WriteLine( "Trapezoid right base angle is: {0} Radians", dyR.ToString() );
double dxD = trpz->GetLeftBaseDegreeAngle();
Console::WriteLine( "Trapezoid left base angle is: {0} Degrees", dxD.ToString() );
double dyD = trpz->GetRightBaseDegreeAngle();
Console::WriteLine( "Trapezoid left base angle is: {0} Degrees", dyD.ToString() );
}
/// <summary>
/// The following class represents simple functionality of the trapezoid.
/// </summary>
using System;
namespace MathClassCS
{
class MathTrapezoidSample
{
private double m_longBase;
private double m_shortBase;
private double m_leftLeg;
private double m_rightLeg;
public MathTrapezoidSample(double longbase, double shortbase, double leftLeg, double rightLeg)
{
m_longBase = Math.Abs(longbase);
m_shortBase = Math.Abs(shortbase);
m_leftLeg = Math.Abs(leftLeg);
m_rightLeg = Math.Abs(rightLeg);
}
private double GetRightSmallBase()
{
return (Math.Pow(m_rightLeg,2.0) - Math.Pow(m_leftLeg,2.0) + Math.Pow(m_longBase,2.0) + Math.Pow(m_shortBase,2.0) - 2* m_shortBase * m_longBase)/ (2*(m_longBase - m_shortBase));
}
public double GetHeight()
{
double x = GetRightSmallBase();
return Math.Sqrt(Math.Pow(m_rightLeg,2.0) - Math.Pow(x,2.0));
}
public double GetSquare()
{
return GetHeight() * m_longBase / 2.0;
}
public double GetLeftBaseRadianAngle()
{
double sinX = GetHeight()/m_leftLeg;
return Math.Round(Math.Asin(sinX),2);
}
public double GetRightBaseRadianAngle()
{
double x = GetRightSmallBase();
double cosX = (Math.Pow(m_rightLeg,2.0) + Math.Pow(x,2.0) - Math.Pow(GetHeight(),2.0))/(2*x*m_rightLeg);
return Math.Round(Math.Acos(cosX),2);
}
public double GetLeftBaseDegreeAngle()
{
double x = GetLeftBaseRadianAngle() * 180/ Math.PI;
return Math.Round(x,2);
}
public double GetRightBaseDegreeAngle()
{
double x = GetRightBaseRadianAngle() * 180/ Math.PI;
return Math.Round(x,2);
}
static void Main(string[] args)
{
MathTrapezoidSample trpz = new MathTrapezoidSample(20.0, 10.0, 8.0, 6.0);
Console.WriteLine("The trapezoid's bases are 20.0 and 10.0, the trapezoid's legs are 8.0 and 6.0");
double h = trpz.GetHeight();
Console.WriteLine("Trapezoid height is: " + h.ToString());
double dxR = trpz.GetLeftBaseRadianAngle();
Console.WriteLine("Trapezoid left base angle is: " + dxR.ToString() + " Radians");
double dyR = trpz.GetRightBaseRadianAngle();
Console.WriteLine("Trapezoid right base angle is: " + dyR.ToString() + " Radians");
double dxD = trpz.GetLeftBaseDegreeAngle();
Console.WriteLine("Trapezoid left base angle is: " + dxD.ToString() + " Degrees");
double dyD = trpz.GetRightBaseDegreeAngle();
Console.WriteLine("Trapezoid left base angle is: " + dyD.ToString() + " Degrees");
}
}
}
'The following class represents simple functionality of the trapezoid.
Class MathTrapezoidSample
Private m_longBase As Double
Private m_shortBase As Double
Private m_leftLeg As Double
Private m_rightLeg As Double
Public Sub New(ByVal longbase As Double, ByVal shortbase As Double, ByVal leftLeg As Double, ByVal rightLeg As Double)
m_longBase = Math.Abs(longbase)
m_shortBase = Math.Abs(shortbase)
m_leftLeg = Math.Abs(leftLeg)
m_rightLeg = Math.Abs(rightLeg)
End Sub
Private Function GetRightSmallBase() As Double
GetRightSmallBase = (Math.Pow(m_rightLeg, 2) - Math.Pow(m_leftLeg, 2) + Math.Pow(m_longBase, 2) + Math.Pow(m_shortBase, 2) - 2 * m_shortBase * m_longBase) / (2 * (m_longBase - m_shortBase))
End Function
Public Function GetHeight() As Double
Dim x As Double = GetRightSmallBase()
GetHeight = Math.Sqrt(Math.Pow(m_rightLeg, 2) - Math.Pow(x, 2))
End Function
Public Function GetSquare() As Double
GetSquare = GetHeight() * m_longBase / 2
End Function
Public Function GetLeftBaseRadianAngle() As Double
Dim sinX As Double = GetHeight() / m_leftLeg
GetLeftBaseRadianAngle = Math.Round(Math.Asin(sinX), 2)
End Function
Public Function GetRightBaseRadianAngle() As Double
Dim x As Double = GetRightSmallBase()
Dim cosX As Double = (Math.Pow(m_rightLeg, 2) + Math.Pow(x, 2) - Math.Pow(GetHeight(), 2)) / (2 * x * m_rightLeg)
GetRightBaseRadianAngle = Math.Round(Math.Acos(cosX), 2)
End Function
Public Function GetLeftBaseDegreeAngle() As Double
Dim x As Double = GetLeftBaseRadianAngle() * 180 / Math.PI
GetLeftBaseDegreeAngle = Math.Round(x, 2)
End Function
Public Function GetRightBaseDegreeAngle() As Double
Dim x As Double = GetRightBaseRadianAngle() * 180 / Math.PI
GetRightBaseDegreeAngle = Math.Round(x, 2)
End Function
Public Shared Sub Main()
Dim trpz As MathTrapezoidSample = New MathTrapezoidSample(20, 10, 8, 6)
Console.WriteLine("The trapezoid's bases are 20.0 and 10.0, the trapezoid's legs are 8.0 and 6.0")
Dim h As Double = trpz.GetHeight()
Console.WriteLine("Trapezoid height is: " + h.ToString())
Dim dxR As Double = trpz.GetLeftBaseRadianAngle()
Console.WriteLine("Trapezoid left base angle is: " + dxR.ToString() + " Radians")
Dim dyR As Double = trpz.GetRightBaseRadianAngle()
Console.WriteLine("Trapezoid right base angle is: " + dyR.ToString() + " Radians")
Dim dxD As Double = trpz.GetLeftBaseDegreeAngle()
Console.WriteLine("Trapezoid left base angle is: " + dxD.ToString() + " Degrees")
Dim dyD As Double = trpz.GetRightBaseDegreeAngle()
Console.WriteLine("Trapezoid left base angle is: " + dyD.ToString() + " Degrees")
End Sub
End Class
Pola
E |
Reprezentuje logarytm naturalny, określony przez stałą, |
PI |
Reprezentuje stosunek obwodu okręgu do jego średnicy, określonego przez stałą, π.Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π. |
Metody
Abs(Decimal) |
Zwraca wartość Decimal bezwzględną liczby.Returns the absolute value of a Decimal number. |
Abs(Double) |
Zwraca wartość bezwzględną liczby zmiennoprzecinkowej o podwójnej precyzji.Returns the absolute value of a double-precision floating-point number. |
Abs(Int16) |
Zwraca wartość bezwzględną 16-bitową liczbę całkowitą ze znakiem.Returns the absolute value of a 16-bit signed integer. |
Abs(Int32) |
Zwraca wartość bezwzględną 32-bitową liczbę całkowitą ze znakiem.Returns the absolute value of a 32-bit signed integer. |
Abs(Int64) |
Zwraca wartość bezwzględną 64-bitową liczbę całkowitą ze znakiem.Returns the absolute value of a 64-bit signed integer. |
Abs(SByte) |
Zwraca wartość bezwzględną 8-bitową liczbę całkowitą ze znakiem.Returns the absolute value of an 8-bit signed integer. |
Abs(Single) |
Zwraca wartość bezwzględną liczby zmiennoprzecinkowej o pojedynczej precyzji.Returns the absolute value of a single-precision floating-point number. |
Acos(Double) |
Zwraca kąt, którego cosinus jest równy podanej liczbie.Returns the angle whose cosine is the specified number. |
Acosh(Double) |
Zwraca kąt, którego cosinus hiperboliczny jest równy podanej liczbie.Returns the angle whose hyperbolic cosine is the specified number. |
Asin(Double) |
Zwraca kąt, którego sinus jest równy podanej liczbie.Returns the angle whose sine is the specified number. |
Asinh(Double) |
Zwraca kąt, którego sinus hiperboliczny jest podaną liczbą.Returns the angle whose hyperbolic sine is the specified number. |
Atan(Double) |
Zwraca kąt, którego tangens jest równy podanej liczbie.Returns the angle whose tangent is the specified number. |
Atan2(Double, Double) |
Zwraca kąt, którego tangens jest ilorazem dwóch określonych liczb.Returns the angle whose tangent is the quotient of two specified numbers. |
Atanh(Double) |
Zwraca kąt, którego tangens hiperboliczny jest równy podanej liczbie.Returns the angle whose hyperbolic tangent is the specified number. |
BigMul(Int32, Int32) |
Tworzy pełny iloczyn liczby 2 32-bitowych.Produces the full product of two 32-bit numbers. |
BitDecrement(Double) |
Zwraca następną najmniejszą wartość, która porównuje mniej niż |
BitIncrement(Double) |
Zwraca następną największą wartość, która porównuje |
Cbrt(Double) |
Zwraca katalog główny modułu o podanej liczbie.Returns the cube root of a specified number. |
Ceiling(Decimal) |
Zwraca najmniejszą wartość całkowitą, która jest większa lub równa określonej liczbie dziesiętnej.Returns the smallest integral value that is greater than or equal to the specified decimal number. |
Ceiling(Double) |
Zwraca najmniejszą wartość całkowitą, która jest większa lub równa określonej liczbie zmiennoprzecinkowej podwójnej precyzji.Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number. |
Clamp(Byte, Byte, Byte) |
Zwraca |
Clamp(Decimal, Decimal, Decimal) |
Zwraca |
Clamp(Double, Double, Double) |
Zwraca |
Clamp(Int16, Int16, Int16) |
Zwraca |
Clamp(Int32, Int32, Int32) |
Zwraca |
Clamp(Int64, Int64, Int64) |
Zwraca |
Clamp(SByte, SByte, SByte) |
Zwraca |
Clamp(Single, Single, Single) |
Zwraca |
Clamp(UInt16, UInt16, UInt16) |
Zwraca |
Clamp(UInt32, UInt32, UInt32) |
Zwraca |
Clamp(UInt64, UInt64, UInt64) |
Zwraca |
CopySign(Double, Double) |
Zwraca wartość o wielkości |
Cos(Double) |
Zwraca cosinus określonego kąta.Returns the cosine of the specified angle. |
Cosh(Double) |
Zwraca cosinus hiperboliczny odpowiadający podanemu kątowi.Returns the hyperbolic cosine of the specified angle. |
DivRem(Int32, Int32, Int32) |
Oblicza iloraz 2 32-bitowych liczb całkowitych ze znakiem, a także Zwraca resztę w parametrze wyjściowym.Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter. |
DivRem(Int64, Int64, Int64) |
Oblicza iloraz 2 64-bitowych liczb całkowitych ze znakiem, a także Zwraca resztę w parametrze wyjściowym.Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter. |
Exp(Double) |
Zwraca |
Floor(Decimal) |
Zwraca największą wartość całkowitą mniejszą lub równą określonej liczbie dziesiętnej.Returns the largest integral value less than or equal to the specified decimal number. |
Floor(Double) |
Zwraca największą wartość całkowitą mniejszą lub równą podanej liczbie zmiennoprzecinkowej podwójnej precyzji.Returns the largest integral value less than or equal to the specified double-precision floating-point number. |
FusedMultiplyAdd(Double, Double, Double) |
Zwraca (x * y) + z, zaokrąglone jako jedna operacja Trzyelementowy.Returns (x * y) + z, rounded as one ternary operation. |
IEEERemainder(Double, Double) |
Zwraca resztę z dzielenia przez określony numer przez inny określony numer.Returns the remainder resulting from the division of a specified number by another specified number. |
ILogB(Double) |
Zwraca logarytm dziesiętny z podanej liczby.Returns the base 2 integer logarithm of a specified number. |
Log(Double) |
Zwraca logarytm naturalny (podstawowy |
Log(Double, Double) |
Zwraca logarytm o podanej liczbie w określonej bazie.Returns the logarithm of a specified number in a specified base. |
Log10(Double) |
Zwraca logarytm dziesiętny z podanej liczby.Returns the base 10 logarithm of a specified number. |
Log2(Double) |
Zwraca logarytm o podstawie 2 dla podanej liczby.Returns the base 2 logarithm of a specified number. |
Max(Byte, Byte) |
Zwraca większe z dwóch 8-bitowych liczb całkowitych bez znaku.Returns the larger of two 8-bit unsigned integers. |
Max(Decimal, Decimal) |
Zwraca większą z dwóch liczb dziesiętnych.Returns the larger of two decimal numbers. |
Max(Double, Double) |
Zwraca więcej dwóch liczb zmiennoprzecinkowych o podwójnej precyzji.Returns the larger of two double-precision floating-point numbers. |
Max(Int16, Int16) |
Zwraca większą z 2 16-bitowych liczb całkowitych ze znakiem.Returns the larger of two 16-bit signed integers. |
Max(Int32, Int32) |
Zwraca większą z 2 32-bitowych liczb całkowitych ze znakiem.Returns the larger of two 32-bit signed integers. |
Max(Int64, Int64) |
Zwraca większą z 2 64-bitowych liczb całkowitych ze znakiem.Returns the larger of two 64-bit signed integers. |
Max(SByte, SByte) |
Zwraca większe z dwóch 8-bitowych liczb całkowitych ze znakiem.Returns the larger of two 8-bit signed integers. |
Max(Single, Single) |
Zwraca więcej dwóch liczb zmiennoprzecinkowych o pojedynczej precyzji.Returns the larger of two single-precision floating-point numbers. |
Max(UInt16, UInt16) |
Zwraca większą z 2 16-bitowych liczb całkowitych bez znaku.Returns the larger of two 16-bit unsigned integers. |
Max(UInt32, UInt32) |
Zwraca większą z 2 32-bitowych liczb całkowitych bez znaku.Returns the larger of two 32-bit unsigned integers. |
Max(UInt64, UInt64) |
Zwraca większą z 2 64-bitowych liczb całkowitych bez znaku.Returns the larger of two 64-bit unsigned integers. |
MaxMagnitude(Double, Double) |
Zwraca większą liczbę liczb zmiennoprzecinkowych o podwójnej precyzji.Returns the larger magnitude of two double-precision floating-point numbers. |
Min(Byte, Byte) |
Zwraca mniejsze z dwóch 8-bitowych liczb całkowitych bez znaku.Returns the smaller of two 8-bit unsigned integers. |
Min(Decimal, Decimal) |
Zwraca mniejsze z dwóch liczb dziesiętnych.Returns the smaller of two decimal numbers. |
Min(Double, Double) |
Zwraca mniejsze z dwóch liczb zmiennoprzecinkowych o podwójnej precyzji.Returns the smaller of two double-precision floating-point numbers. |
Min(Int16, Int16) |
Zwraca mniejsze z 2 16-bitowych liczb całkowitych ze znakiem.Returns the smaller of two 16-bit signed integers. |
Min(Int32, Int32) |
Zwraca mniejsze z 2 32-bitowych liczb całkowitych ze znakiem.Returns the smaller of two 32-bit signed integers. |
Min(Int64, Int64) |
Zwraca mniejsze z 2 64-bitowych liczb całkowitych ze znakiem.Returns the smaller of two 64-bit signed integers. |
Min(SByte, SByte) |
Zwraca mniejsze z dwóch 8-bitowych liczb całkowitych ze znakiem.Returns the smaller of two 8-bit signed integers. |
Min(Single, Single) |
Zwraca mniejsze z dwóch liczb zmiennoprzecinkowych o pojedynczej precyzji.Returns the smaller of two single-precision floating-point numbers. |
Min(UInt16, UInt16) |
Zwraca mniejsze z 2 16-bitowych liczb całkowitych bez znaku.Returns the smaller of two 16-bit unsigned integers. |
Min(UInt32, UInt32) |
Zwraca mniejsze z 2 32-bitowych liczb całkowitych bez znaku.Returns the smaller of two 32-bit unsigned integers. |
Min(UInt64, UInt64) |
Zwraca mniejsze z 2 64-bitowych liczb całkowitych bez znaku.Returns the smaller of two 64-bit unsigned integers. |
MinMagnitude(Double, Double) |
Zwraca mniejszy rozmiar dwóch liczb zmiennoprzecinkowych podwójnej precyzji.Returns the smaller magnitude of two double-precision floating-point numbers. |
Pow(Double, Double) |
Zwraca określoną liczbę podniesioną do określonej potęgi.Returns a specified number raised to the specified power. |
Round(Decimal) |
Zaokrągla wartość dziesiętną do najbliższej wartości całkowitej i zaokrągla wartości punktu środkowego do najbliższej parzystej liczby.Rounds a decimal value to the nearest integral value, and rounds midpoint values to the nearest even number. |
Round(Decimal, Int32) |
Zaokrągla wartość dziesiętną do określonej liczby cyfr ułamkowych i zaokrągla wartości punktu środkowego do najbliższej parzystej liczby.Rounds a decimal value to a specified number of fractional digits, and rounds midpoint values to the nearest even number. |
Round(Decimal, Int32, MidpointRounding) |
Zaokrągla wartość dziesiętną do określonej liczby cyfr ułamkowych i używa określonej konwencji zaokrąglania dla wartości punktu środkowego.Rounds a decimal value to a specified number of fractional digits, and uses the specified rounding convention for midpoint values. |
Round(Decimal, MidpointRounding) |
Zaokrągla wartość dziesiętną do najbliższej liczby całkowitej i używa określonej konwencji zaokrąglania dla wartości punktu środkowego.Rounds a decimal value to the nearest integer, and uses the specified rounding convention for midpoint values. |
Round(Double) |
Zaokrągla wartość zmiennoprzecinkową o podwójnej precyzji do najbliższej wartości całkowitej i zaokrągla wartości punktu środkowego do najbliższej parzystej liczby.Rounds a double-precision floating-point value to the nearest integral value, and rounds midpoint values to the nearest even number. |
Round(Double, Int32) |
Zaokrągla wartość zmiennoprzecinkową o podwójnej precyzji do określonej liczby cyfr ułamkowych i zaokrągla wartości punktu środkowego do najbliższej parzystej liczby.Rounds a double-precision floating-point value to a specified number of fractional digits, and rounds midpoint values to the nearest even number. |
Round(Double, Int32, MidpointRounding) |
Zaokrągla wartość zmiennoprzecinkową o podwójnej precyzji do określonej liczby cyfr ułamkowych i używa określonej konwencji zaokrąglania dla wartości punktu środkowego.Rounds a double-precision floating-point value to a specified number of fractional digits, and uses the specified rounding convention for midpoint values. |
Round(Double, MidpointRounding) |
Zaokrągla wartość zmiennoprzecinkową o podwójnej precyzji do najbliższej liczby całkowitej i używa określonej konwencji zaokrąglania dla wartości środkowych.Rounds a double-precision floating-point value to the nearest integer, and uses the specified rounding convention for midpoint values. |
ScaleB(Double, Int32) |
Zwraca wartość x * 2 ^ n obliczoną efektywnie.Returns x * 2^n computed efficiently. |
Sign(Decimal) |
Zwraca liczbę całkowitą, która wskazuje znak liczby dziesiętnej.Returns an integer that indicates the sign of a decimal number. |
Sign(Double) |
Zwraca liczbę całkowitą, która wskazuje znak liczby zmiennoprzecinkowej podwójnej precyzji.Returns an integer that indicates the sign of a double-precision floating-point number. |
Sign(Int16) |
Zwraca liczbę całkowitą wskazującą znak 16-bitowej podpisanej liczby całkowitej.Returns an integer that indicates the sign of a 16-bit signed integer. |
Sign(Int32) |
Zwraca liczbę całkowitą wskazującą znak 32-bitową liczbę całkowitą ze znakiem.Returns an integer that indicates the sign of a 32-bit signed integer. |
Sign(Int64) |
Zwraca liczbę całkowitą wskazującą znak 64-bitową liczbę całkowitą ze znakiem.Returns an integer that indicates the sign of a 64-bit signed integer. |
Sign(SByte) |
Zwraca liczbę całkowitą wskazującą znak 8-bitowej podpisanej liczby całkowitej.Returns an integer that indicates the sign of an 8-bit signed integer. |
Sign(Single) |
Zwraca liczbę całkowitą wskazującą znak liczby zmiennoprzecinkowej o pojedynczej precyzji.Returns an integer that indicates the sign of a single-precision floating-point number. |
Sin(Double) |
Zwraca sinus określonego kąta.Returns the sine of the specified angle. |
Sinh(Double) |
Zwraca sinus hiperboliczny odpowiadający podanemu kątowi.Returns the hyperbolic sine of the specified angle. |
Sqrt(Double) |
Zwraca pierwiastek kwadratowy z podanej liczby.Returns the square root of a specified number. |
Tan(Double) |
Zwraca tangens podanego kąta.Returns the tangent of the specified angle. |
Tanh(Double) |
Zwraca tangens hiperboliczny odpowiadający podanemu kątowi.Returns the hyperbolic tangent of the specified angle. |
Truncate(Decimal) |
Oblicza integralną część określonej liczby dziesiętnej.Calculates the integral part of a specified decimal number. |
Truncate(Double) |
Oblicza integralną część określonej liczby zmiennoprzecinkowej podwójnej precyzji.Calculates the integral part of a specified double-precision floating-point number. |