XbZ_Num2Binary()
|
Previous Top Next |
XbZ_Num2Binary(<nValue>,
|
[<nLen>]) --> cDisplay
|
<nValue>
|
<nValue> contains the Numeric Value that should be converted to a string in Binary Format.
|
<nLen>
|
<nLen> optionally contains the Number of Digits that should be displayed.
|
This function returns a formatted string that shows the Binary representation of <nValue>.
|
This function returns a formatted string that shows the Binary representation of <nValue>. If <nLen> is specified, the returned value is either padded on the left with Zeros ("0") or truncated to only contain <nLen> digits.
|
QOut(XbZ_Num2Binary(123, 8)) --> "01111011"
|