The SalNumber type exposes the following members.

Methods

  NameDescription
Public methodAbs
Computes a number's absolute value.
Public methodStatic memberAdd
+ operators for adding two SalNumber objects
Public methodArcCos
Computes the arc cosine of a value in the range 0 to 1. The value's domain is -1 to 1.
Public methodArcSin
Computes a value's arc sine. The value's domain is -1 to 1.
Public methodArcTan
Computes a value's arc tangent.
Public methodStatic memberArcTan2
Computes the arc tangent of two values. This function uses the signs of both parameters to determine the quadrant of the return value.
Public methodStatic memberCompare
Compares two SalNumbers values.
Public methodCompareTo(Object)
Public methodCompareTo(SalNumber)
Public methodCos
Computes an angle's cosine.
Public methodCosH
Computes an angle's hyperbolic cosine.
Public methodStatic memberDivide
/ operator for dividing two SalNumber objects
Public methodEquals
Overrides the Object.Equals() method.
(Overrides ValueType..::..Equals(Object).)
Public methodExponent
Computes a value's exponential function.
Public methodGetHashCode
Overrides the Object.GetHashCode() method
(Overrides ValueType..::..GetHashCode()()()().)
Public methodHighWord
Returns a number's high-order word value (most significant 16 bits).
Public methodStatic memberHypot
Computes the length of the hypotenuse of a right triangle, given the lengths of the other two sides.
Public methodLog
Computes a number's natural logarithm.
Public methodLogBase10
Computes a number's base 10 logarithm.
Public methodLowWord
Returns a number's low-order word value (least significant 16 bits).
Public methodStatic memberMax
Returns the greater of two values.
Public methodStatic memberMin
Returns the lesser of two values.
Public methodMod
Returns a number's modulo.
Public methodStatic memberMultiply
* operator for multiplying two SalNumber objects
Public methodStatic memberNegate
Negation operator.
Public methodPi
Multiples a number by Pi. Pi is equal to 3.1415926535979323.
Public methodPower
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.
Public methodStatic memberRandInit
Sets the starting point for generating a series of pseudo-random numbers using SalNumberRandom.
Public methodStatic memberRandom
Generates a pseudo-random number. The numbers generated by this function are integers (whole numbers) in the range 0 to 32767 (0 to 0x7FFF).
Public methodRound
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.
Public methodSin
Computes an angle's sine.
Public methodSinH
Computes an angle's hyperbolic sine.
Public methodSqrt
Computes a number's square root.
Public methodStatic memberSubtract
- operator for subtracting two SalNumber objects
Public methodTan
Computes an angle's tangent.
Public methodTanH
Computes an angle's hyperbolic tangent.
Public methodToBoolean
Public methodToByte
Public methodToChar
Public methodToCharacter
Converts a decimal value to a UNICODE character.
Public methodToDecimal
Public methodToDouble
Public methodToInt16
Public methodToInt32
Public methodToInt64
Public methodToIntPtr
Public methodToSByte
Public methodToSingle
Public methodToString()()()()
Converts a numeric value to a string.
(Overrides ValueType..::..ToString()()()().)
Public methodToString(IFormatProvider)
Converts a numeric value to a string using the specified format provider.
Public methodToString(Int32)
Converts a number to a string.
Public methodToString(String)
Converts a numeric value to a string using the specified format string.
Public methodToString(Int32, SalString%)
Converts a number to a string.
Public methodToString(String, IFormatProvider)
Converts a numeric value to a string using the specified format string and provider.
Public methodToUInt16
Public methodToUInt32
Public methodToUInt64
Public methodToWindowHandle
Converts a number to a window handle.
Public methodTruncate
Truncates a number.

See Also