DEC2BIN (PQL - xl)
This function converts a decimal number to a binary number
- Library: PQL \ Spreadsheet \ Engineering
- Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
- Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions
Syntax
DEC2BIN(number, OPTIONAL places)
Function Arguments
Name | Description | Type | Optional |
number | Decimal numeric value to convert in the range of -512 to 511 | Number |
|
places | Number of characters to return; if not an integer, the number is truncated | Number | Y |
Comments
This function is the same as the Microsoft Excel 'DEC2BIN' function - using the same inputs, logic and outputs.