SalNumber
PPJ.Runtime.SalNumber
Last updated
PPJ.Runtime.SalNumber
Last updated
Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.49 (4.9.0.0)
SAL Number basic type. It wraps .NET native Decimal type. SalNumber objects are automatically cast to and from SalBoolean, Decimal, and int.
Creates a new SalNumber.
Name | Type | Description |
---|---|---|
Creates a new SalNumber.
Name | Type | Description |
---|---|---|
Creates a new SalNumber.
Name | Type | Description |
---|---|---|
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Creates a new SalNumber.
Boolean: Checks if this SalNumber object contain a null value.
Decimal: Returns the inner decimal value
Computes a number's absolute value.
Returns: SalNumber. nNum
operators for adding two SalNumber objects
Returns: SalNumber.
Computes the arc cosine of a value in the range 0 to 1. The value's domain is -1 to 1.
Returns: SalNumber. nArcCos
Computes a value's arc sine. The value's domain is -1 to 1.
Returns: SalNumber. nArcSin
Computes a value's arc tangent.
Returns: SalNumber. nArcTan
Computes the arc tangent of two values. This function uses the signs of both parameters to determine the quadrant of the return value.
Returns: SalNumber. nArcTan2
Compares two SalNumbers values.
Returns: Int32.
compare to an object
Returns: Int32.
compare to a number
Returns: Int32.
Computes an angle's cosine.
Returns: SalNumber. nCos
Computes an angle's hyperbolic cosine.
Returns: SalNumber. nCosH
/ operator for dividing two SalNumber objects
Returns: SalNumber.
Computes a value's exponential function.
Returns: SalNumber. nNumExp
Returns a number's high-order word value (most significant 16 bits).
Returns: SalNumber.
Computes the length of the hypotenuse of a right triangle, given the lengths of the other two sides.
Returns: SalNumber. nHypotenuse
Computes a number's natural logarithm.
Returns: SalNumber. nLog
Computes a number's base 10 logarithm.
Returns: SalNumber. nLogBase10
Returns a number's low-order word value (least significant 16 bits).
Returns: SalNumber. nLo
Returns the greater of two values.
Returns: SalNumber. nNumMax
Returns the lesser of two values.
Returns: SalNumber. nNumMin
Returns a number's modulo.
Returns: SalNumber. nModulo
operator for multiplying two SalNumber objects
Returns: SalNumber.
Negation operator.
Returns: SalNumber.
Multiples a number by Pi. Pi is equal to 3.1415926535979323.
Returns: SalNumber. nNumPi
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.
Returns: SalNumber. nNumPower
Sets the starting point for generating a series of pseudo-random numbers using SalNumberRandom.
Returns: Boolean. bOk
Generates a pseudo-random number. The numbers generated by this function are integers (whole numbers) in the range 0 to 32767 (0 to 0x7FFF).
Returns: SalNumber. nRandomNum
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.
Returns: SalNumber. nResult
Computes an angle's sine.
Returns: SalNumber. nSin
Computes an angle's hyperbolic sine.
Returns: SalNumber. nSinH
Computes a number's square root.
Returns: SalNumber. nSqrt
operator for subtracting two SalNumber objects
Returns: SalNumber.
Computes an angle's tangent.
Returns: SalNumber. nTan
Computes an angle's hyperbolic tangent.
Returns: SalNumber. nTanH
to boolean
Returns: Boolean.
to byte
Returns: Byte.
to char
Returns: Char.
Converts a decimal value to a UNICODE character.
Returns: SalString.
to decimal
Returns: Decimal.
to double
Returns: Double.
to int16
Returns: Int16.
to int32
Returns: Int32.
to int64
Returns: Int64.
to intptr
Returns: IntPtr.
to sbyte
Returns: SByte.
to single
Returns: Single.
to uint16
Returns: UInt16.
to uint32
Returns: UInt32.
to uint64
Returns: UInt64.
Converts a number to a window handle.
Returns: SalWindowHandle. nNumber
Truncates a number.
Returns: SalNumber. nResult
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|