| Line 17: |
Line 17: |
| | OCT2HEX(777,3) ''returns 1FF'' | | OCT2HEX(777,3) ''returns 1FF'' |
| | | | |
| − | *The 'number' can be upto 10 digits (30 bits). The most significant bit is the sign bit and remaining bits are magnitude bits. | + | *The 'number' can be upto 9 digits. 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 7 digit hexadecimal number. |
| | + | <font color=blue> Need to check the input and output limits after next release</font> |
| | *If the 'number' is not an integer, Calci displays an #NUM! error message. | | *If the 'number' is not an integer, Calci displays an #NUM! error message. |
| | *If the 'number' is an invalid octal number, Calci displays an #NUM! error message. | | *If the 'number' is an invalid octal number, Calci displays an #NUM! error message. |
| Line 38: |
Line 39: |
| | | | |
| | |- class="odd" | | |- class="odd" |
| − | | class="sshl_f" | OCT2HEX("511") | + | | class="sshl_f" | OCT2HEX(511) |
| | | class="sshl_f" | 0000149 | | | class="sshl_f" | 0000149 |
| | | | |
| | |- class="even" | | |- class="even" |
| − | | class="sshl_f" | OCT2HEX("433,3") | + | | class="sshl_f" | OCT2HEX(433,3) |
| | | class="sshl_f" | 11B | | | class="sshl_f" | 11B |
| | | | |
| | |- class="odd" | | |- class="odd" |
| − | | class="sshl_f" | OCT2HEX("78,-4") | + | | class="sshl_f" | OCT2HEX(777777777) |
| − | | class="sshl_f" |
| + | | class="sshl_f" | 7FFFFFF |
| − | | |
| − | |- class="even"
| |
| − | | class="sshl_f" | OCT2HEX("78.78")
| |
| − | | class="sshl_f" |
| |
| − | | |
| − | |- class="odd"
| |
| − | | class="sshl_f" | OCT2HEX("-364")
| |
| − | | class="sshl_f" | | |
| | |} | | |} |
| | | | |