Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Manuals/calci/BIN2OCT
(view source)
Revision as of 17:23, 16 November 2013
293 bytes added
,
17:23, 16 November 2013
no edit summary
Line 10:
Line 10:
BIN2OCT(number,places)
BIN2OCT(number,places)
−
*'number' must be a binary number.
+
*'number' must be a binary number
. Binary number is represented using digits 1 or 0 only. The number can also be entered in text format (e.g "101")
.
−
*Calci returns an #ERROR message if 'number' contains more than 10 characters (10 bits).
+
*Calci returns an #ERROR message if 'number' contains more than 10 characters (10 bits).
+
<!-- <font color = red> Need to verify the limit after next release -->
−
*If 'number' is negative, Calci displays
an #ERROR message
.
+
*If 'number' is negative, Calci
ignores the places, if any and
displays
10 digit octal output
.
*If 'places' is not an integer, it is truncated.
*If 'places' is not an integer, it is truncated.
−
*Calci returns an #ERROR message if 'places' are nonnumeric
or
negative.
+
*Calci returns an #ERROR message if 'places' are nonnumeric
+
+
*If 'places' is
negative
, Calci ignores the places and displays the octal output
.
BIN2OCT(1100100) ''returns 144''
BIN2OCT(1100100) ''returns 144''
Swapna
writer
2,661
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Community portal
Current events
Recent changes
Help
Tools
ZCubes Web Platform
Printable version