Changes

Jump to navigation Jump to search
7 bytes removed ,  17:43, 16 November 2013
no edit summary
Line 1: Line 1: −
=DEC2BIN(number, padding)=
+
=DEC2BIN(number, places)=
    
*Where 'number' is the decimal integer to be converted and
 
*Where 'number' is the decimal integer to be converted and
   −
*'padding' is the number of characters to display the output.
+
*'places' is the number of characters to display the output.
    
DEC2BIN() function converts a decimal number to its binary equivalent.
 
DEC2BIN() function converts a decimal number to its binary equivalent.
Line 9: Line 9:  
== Description ==
 
== Description ==
   −
DEC2BIN(number, padding)
+
DEC2BIN(number, places)
    
*The 'number' should be in the range -512 to 511. If it exceeds the limit, Calci gives a #NUM! error.
 
*The 'number' should be in the range -512 to 511. If it exceeds the limit, Calci gives a #NUM! error.
Line 15: Line 15:  
*DEC2BIN returns an #ERROR, when the 'number' is nonnumeric.
 
*DEC2BIN returns an #ERROR, when the 'number' is nonnumeric.
   −
*'padding' argument is used to return the output with leading zeros. If 'padding' argument is not used, 'Calci' uses the minimum number of characters required to display the binary output.  
+
*'places' argument is used to return the output with leading zeros. If 'places' argument is not used, 'Calci' uses the minimum number of characters required to display the binary output.  
    
<!--
 
<!--
*DEC2BIN returns #NUM! error, whenever the 'padding' is nonnumeric, zero or negative.
+
*DEC2BIN returns #NUM! error, whenever the 'places' is nonnumeric, zero or negative.
 
-->
 
-->
*If 'padding' contains decimal value, Calci truncates the decimal point and uses the integer value as input.
+
*If 'places' contains decimal value, Calci truncates the decimal point and uses the integer value as input.
    
For example,
 
For example,
writer
2,661

edits

Navigation menu