BINARY
BINARY returns the binary value of x, with a precision specified by p and q. The result has the mode and scale of x.
Abbreviation: BIN
- x
- Expression.
- p
- Restricted expression. Specifies the number of digits to be maintained throughout the operation; it must not exceed the implementation limit.
- q
- Restricted expression specifying the scaling factor of the result. For a fixed-point result, if q is omitted, a scaling factor of zero is the default, and if not omitted, it must be nonnegative. For a floating-point result, q must be omitted.
If both p and q are omitted, the precision of the result is determined from the rules for base conversion.
