Difference between revisions of "Manuals/calci/DEC2OCT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''DEC2OCT'''(SomeNumber, NumberPlaces) where, '''SomeNumber''' - is the decimal number. '''NumberPlaces''...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=DEC2OCT(number, places)=
  
'''DEC2OCT'''(SomeNumber, NumberPlaces)
+
*Where 'number' is the decimal number to be converted, and
  
where,
+
*'places' is the number of characters.
  
'''SomeNumber''' - is the decimal number.
+
DEC2OCT() is used to convert decimal number to its octal equivalent.
  
'''NumberPlaces''' - is the number of characters.If omitted then it use minimum number of characters.NumberPlace is use for adding to return value with leading zeros.
+
== Description ==
 +
 
 +
DEC2OCT(number, places)
 +
 
 +
 
 +
If omitted then it use minimum number of characters.NumberPlace is use for adding to return value with leading zeros.
  
 
</div>
 
</div>

Revision as of 17:20, 17 November 2013

DEC2OCT(number, places)

  • Where 'number' is the decimal number to be converted, and
  • 'places' is the number of characters.

DEC2OCT() is used to convert decimal number to its octal equivalent.

Description

DEC2OCT(number, places)


If omitted then it use minimum number of characters.NumberPlace is use for adding to return value with leading zeros.


Calci converts a decimal number to octal.


If SomeNumber and NumberPlaces are non-numeric, DEC2BIN returns the#ERROR.

If the NumberPlaces is a negative, it returns the #ERROR.

If NumberPlaces > LengthofSomeNumber then  returns #ERROR.


DEC2OCT


Lets see an example in (Column1, Row1)

=DEC2OCT(68,3)

DEC2OCT converts 68 to 104 upto 3 charcacters.


Syntax

Remarks

Examples

Description

Column1 Column2 Column3 Column4
Row1 104
Row2
Row3
Row4
Row5
Row6