Manuals/calci/DEC2BIN

From ZCubes Wiki
Revision as of 20:33, 24 October 2013 by MassBot1 (talk | contribs) (Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">DEC2BIN(num, p)</font></font></font> <font col...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DEC2BIN(num, p)

Where 'num' is the decimal integer to convert and 'p' is the number of characters to use.


DEC2BIN returns the NAN(error) value, when number is negative or nonnumeric.

DEC2BIN returns the NAN(error) value, whenever the places are nonnumeric, zero or negative.


DEC2BIN


 

Lets see an example,

DEC2BIN(num, p)

=DEC2BIN(10, 5) is 1010

=DEC2BIN(100) is 1100100


Syntax

Remarks

Examples

Description

This function converts a decimal number to binary number.


Column1 Column2 Column3 Column4
Row1 1010 1100100
Row2
Row3
Row4
Row5
Row6