Changes

171 bytes added ,  21:58, 12 November 2013
no edit summary
Line 7: Line 7:     
BIN2DEC(number)
 
BIN2DEC(number)
 +
 +
For example, BIN2DEC(101) ''returns 5'' as a result.
 +
 +
            BIN2DEC(11110) ''returns 30'' as a result.
    
*BIN2DEC() converts a binary number to decimal number.
 
*BIN2DEC() converts a binary number to decimal number.
   −
*Binaray number is represented using digits 1 or 0 only.
+
*Binaray number is represented using digits 1 or 0 only. The number can also be entered in text format (e.g "101").
    
*The conversion can be obtained for a binary number upto 10 bits. The most significant bit represents the 'sign' of the number (0=positive, 1=negative). Negative numbers are represented using 2's complement notation.
 
*The conversion can be obtained for a binary number upto 10 bits. The most significant bit represents the 'sign' of the number (0=positive, 1=negative). Negative numbers are represented using 2's complement notation.
writer
2,661

edits