DelphiBasics
  Home  |  Delphi .net Home  |  System NameSpace
 .NET Framework
 Namespace References

 System
 
  Array  Class 
  Boolean  Structure 
  Buffer  Class 
  Byte  Structure 
  Char  Structure 
  Console  Class 
  Convert  Class 
  DateTime  Structure 
  DayOfWeek  Enumeration 
  Decimal  Structure 
  Double  Structure 
  Enum  Class 
  Environment  Class 
  Exception  Class 
  ICloneable  Interface 
  Int16  Structure 
  Int32  Structure 
  Int64  Structure 
  Math  Class 
  Object  Class 
  OperatingSystem  Class 
  Random  Class 
  SByte  Structure 
  Single  Structure 
  String  Class 
  TimeSpan  Structure 
  UInt16  Structure 
  UInt32  Structure 
  UInt64  Structure 
  Version  Class 
 System.Collections
 System.Globalization
 System.IO

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 php Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders


 
 
  System.Math Class
 
 Description
This is similar to the Math run time library unit, and should not be confused with it! To avoid confusion, you should qualify the members that you use.
 
It contains a couple of constants and static functions.
 Methods
Abs  Gets the absolute value of a number
ACos  Gets the angle whose Cosine is the given number
ASin  Gets the angle whose Sine is the given number
ATan  Gets the angle whose Tangent is the given number
ATan2  Gets the angle whose Tangent is the quotient of the given numbers
Ceiling  Rounds the number up to the nearest integer
Cos  Gets the Cosine of an angle
Cosh  Gets the Hyperbolic Cosine of an angle
Exp  Returns E raised to the given power
Floor  Rounds the number down to the nearest integer
IEEERemainder  Remainder from the division of 2 floating point numbers to IEEE standards
Log  Gives the Logarithm of a number
Log10  Gives the Logarithm of a number in base 10
Max  Returns the largest of the two given numbers
Min  Returns the smallest of the two given numbers
Pow  Raises a number to a specified power
Round  Rounds a number to the nearest value using Bankers rules
Sign  Returns an indication of the sign (polarity) of a number
Sin  Gets the Sine of an angle
Sinh  Gets the Hyperbolic Sine of an angle
Sqrt  Gives the square root of a number
Tan  Gets the Tangent of an angle
Tanh  Gets the Hyperbolic Tangent of an angle

 Fields
E  Double  2.7182818284590452354 : the natural logarithmic base, specified by the constant e
PI  Double  3.14159265358979323846 : the ratio of the circumference of a circle to its diameter (π)

 Microsoft MSDN links
 
System
System.math
 
Delphi Programming © Neil Moffatt . All rights reserved.  |  Home Page