The SalNumber type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Abs |
Computes a number's absolute value.
|
![]() ![]() | Add |
+ operators for adding two SalNumber objects
|
![]() | ArcCos |
Computes the arc cosine of a value in the range 0 to 1. The value's domain is -1
to 1.
|
![]() | ArcSin |
Computes a value's arc sine. The value's domain is -1 to 1.
|
![]() | ArcTan |
Computes a value's arc tangent.
|
![]() ![]() | ArcTan2 |
Computes the arc tangent of two values. This function uses the signs of both parameters
to determine the quadrant of the return value.
|
![]() ![]() | Compare |
Compares two SalNumbers values.
|
![]() | CompareTo(Object) | |
![]() | CompareTo(SalNumber) | |
![]() | Cos |
Computes an angle's cosine.
|
![]() | CosH |
Computes an angle's hyperbolic cosine.
|
![]() ![]() | Divide |
/ operator for dividing two SalNumber objects
|
![]() | Equals |
Overrides the Object.Equals() method.
(Overrides ValueType..::..Equals(Object).) |
![]() | Exponent |
Computes a value's exponential function.
|
![]() | GetHashCode |
Overrides the Object.GetHashCode() method
(Overrides ValueType..::..GetHashCode()()()().) |
![]() | HighWord |
Returns a number's high-order word value (most significant 16 bits).
|
![]() ![]() | Hypot |
Computes the length of the hypotenuse of a right triangle, given the lengths of the
other two sides.
|
![]() | Log |
Computes a number's natural logarithm.
|
![]() | LogBase10 |
Computes a number's base 10 logarithm.
|
![]() | LowWord |
Returns a number's low-order word value (least significant 16 bits).
|
![]() ![]() | Max |
Returns the greater of two values.
|
![]() ![]() | Min |
Returns the lesser of two values.
|
![]() | Mod |
Returns a number's modulo.
|
![]() ![]() | Multiply |
* operator for multiplying two SalNumber objects
|
![]() ![]() | Negate |
Negation operator.
|
![]() | Pi |
Multiples a number by Pi. Pi is equal to 3.1415926535979323.
|
![]() | Power |
Computes nX raised to the power of nY. This function does not recognize integral,
floating-point values greater than 2 to the 64th power, such as 1.0E100.
|
![]() ![]() | RandInit |
Sets the starting point for generating a series of pseudo-random numbers using SalNumberRandom.
|
![]() ![]() | Random |
Generates a pseudo-random number. The numbers generated by this function are integers
(whole numbers) in the range 0 to 32767 (0 to 0x7FFF).
|
![]() | Round |
Returns a rounded number. If the fractional part of a number is greater than or equal
to .5, rounds the number up. For example, the number 124.33 returns 124; the number 124.56 returns 125.
|
![]() | Sin |
Computes an angle's sine.
|
![]() | SinH |
Computes an angle's hyperbolic sine.
|
![]() | Sqrt |
Computes a number's square root.
|
![]() ![]() | Subtract |
- operator for subtracting two SalNumber objects
|
![]() | Tan |
Computes an angle's tangent.
|
![]() | TanH |
Computes an angle's hyperbolic tangent.
|
![]() | ToBoolean | |
![]() | ToByte | |
![]() | ToChar | |
![]() | ToCharacter |
Converts a decimal value to a UNICODE character.
|
![]() | ToDecimal | |
![]() | ToDouble | |
![]() | ToInt16 | |
![]() | ToInt32 | |
![]() | ToInt64 | |
![]() | ToIntPtr | |
![]() | ToSByte | |
![]() | ToSingle | |
![]() | ToString()()()() |
Converts a numeric value to a string.
(Overrides ValueType..::..ToString()()()().) |
![]() | ToString(IFormatProvider) |
Converts a numeric value to a string using the specified format provider.
|
![]() | ToString(Int32) |
Converts a number to a string.
|
![]() | ToString(String) |
Converts a numeric value to a string using the specified format string.
|
![]() | ToString(Int32, SalString%) |
Converts a number to a string.
|
![]() | ToString(String, IFormatProvider) |
Converts a numeric value to a string using the specified format string and provider.
|
![]() | ToUInt16 | |
![]() | ToUInt32 | |
![]() | ToUInt64 | |
![]() | ToWindowHandle |
Converts a number to a window handle.
|
![]() | Truncate |
Truncates a number.
|