| Line 1: |
Line 1: |
| − | <div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">'''BIN2OCT'''</font></font><font face="Arial, sans-serif"><font size="2">(</font></font><font face="Arial, sans-serif"><font size="2">'''num'''</font></font><font face="Arial, sans-serif"><font size="2">, p)</font></font></font>
| + | =BIN2OCT(number,places)= |
| | | | |
| − | <font color="#000000"><font face="Arial, sans-serif"><font size="2">Where 'num' is the binary number want to convert, and 'p' is the number of characters to use. </font></font></font>
| + | *Where 'number' is a binary number to be converted and |
| | + | *'places' is the number of characters to be used to display the output. |
| | | | |
| − | </div>
| + | BIN2OCT converts a binary number to its octal equivalent. |
| − | ----
| |
| − | <div id="1SpaceContent" class="zcontent" align="left">
| |
| | | | |
| − | <font color="#000000"><font face="Arial, sans-serif"><font size="2">This function converts a binary number to octal.</font></font></font>
| + | == Description == |
| | | | |
| − | </div>
| + | *'number' must be a binary number. |
| − | ----
| |
| − | <div id="7SpaceContent" class="zcontent" align="left">
| |
| | | | |
| − | * <font color="#000000"><font face="Arial, sans-serif"><font size="2">num' must be a binary number.</font></font></font> | + | *Calci returns an #ERROR message if 'number' contains more than 10 characters (10 bits). |
| | | | |
| − | * <font color="#000000"><font face="Arial, sans-serif"><font size="2">BIN2HEX returns the error value, when 'num' contains more than 10 characters (10 bits).</font></font></font> | + | *If 'number' is negative, BIN2HEX shows an #ERROR message. |
| | | | |
| − | * <font color="#000000"><font face="Arial, sans-serif"><font size="2">If number is negative, BIN2HEX shows NAN(error) value.</font></font></font> | + | *If 'places' is not an integer, it is truncated. |
| | | | |
| − | * <font color="#000000"><font face="Arial, sans-serif"><font size="2">If places is not an integer, it is truncated. </font></font></font> | + | *Calci returns an #ERROR message if 'places' are nonnumeric or negative. |
| − | | |
| − | * <font color="#000000"><font face="Arial, sans-serif"><font size="2">BIN2HEX returns the error value, when places are nonnumeric or negative.</font></font></font>
| |
| | | | |
| | </div> | | </div> |