Changes

Jump to navigation Jump to search
48 bytes removed ,  22:50, 11 December 2013
no edit summary
Line 17: Line 17:  
OCT2HEX(777,3) ''returns 1FF''
 
OCT2HEX(777,3) ''returns 1FF''
   −
*The 'number' can be 10 digit (30 bits) octal number.
+
*The 'number' can be upto 10 digits (30 bits). The most significant bit is the sign bit and remaining bits are magnitude bits.
*Output is a 10 digit number. The most significant bit is the sign bit and remaining bits are magnitude bits.
   
*If 'number' is negative, Calci ignores the places and returns a 10 character (30 bit) hexadecimal number.
 
*If 'number' is negative, Calci ignores the places and returns a 10 character (30 bit) hexadecimal number.
*If the 'number' is not an integer, Calci considers the integer part, and displays the output.
+
*If the 'number' is not an integer, Calci displays an #NUM! error message.
*Calci displays an error message, if the 'number' is an invalid decimal number.
+
*If the 'number' is an invalid octal number, Calci displays an #NUM! error message.
 
*'places' argument can be omitted. Calci displays the hexadecimal output with minimum number of characters necessary.
 
*'places' argument can be omitted. Calci displays the hexadecimal output with minimum number of characters necessary.
 
*'places' is used for padding the output with leading '0's'.
 
*'places' is used for padding the output with leading '0's'.
 
*Calci ignores the 'places', if the output is more than mentioned 'places'.
 
*Calci ignores the 'places', if the output is more than mentioned 'places'.
*Calci ignores the 'places', if the 'places' is non-numeric or negative.
+
*If the 'places' is non-numeric or negative, Calci displays an error message.
 
*If 'places' is not an integer, Calci truncates the 'places' value.
 
*If 'places' is not an integer, Calci truncates the 'places' value.
 
*A number preceding with '0' (e.g. 0377) should be written in text format ("0377") to avoid confusion with hexadecimal numbers.
 
*A number preceding with '0' (e.g. 0377) should be written in text format ("0377") to avoid confusion with hexadecimal numbers.
writer
2,661

edits

Navigation menu