dec2bin() Function
This function can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

dec2bin( value, place )

Converts a Decimal number to a Binary number as text.

Parameters

Keyword Type Description

value

Text

Decimal value to convert, such as 123.

place

Number

The number of places to return.

Returns

Text

Usage considerations

Using the value parameter

Negative number values for value are handled using the 2's complement method.

Using the place parameter

The default value for place is however many places are necessary to represent the number.

Examples

dec2bin(16) returns 10000

Open in Github Built: Mon, Nov 21, 2022 (01:51:50 PM)

On This Page

FEEDBACK