<doc>
  <legacy_id>1677</legacy_id>
  <name>convertOctals</name>
  <type>property</type>
  <syntax>
    <example>set the convertOctals to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <local/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Math, Logic, &amp; Dates</category>
  </classification>
  <references>
    <function tag="baseConvert">baseConvert Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies whether numbers with a leading zero are assumed to be <glossary tag="octal">octal</glossary> numbers.</summary>
  <examples>
    <example>set the convertOctals to true</example>
  </examples>
  <description>
    <p>Use the <b>convertOctals</b> <glossary tag="property">property</glossary> to make it easier to work with <glossary tag="octal">octal</glossary> numbers.</p><p/><p><b>Value:</b></p><p>The <b>convertOctals</b> is true or false.</p><p/><p>By default, the <b>convertOctals</b> <glossary tag="property">property</glossary> is set to false.</p><p/><p><b>Comments:</b></p><p>If the <b>convertOctals</b> <glossary tag="property">property</glossary> is set to true, numbers that start with a zero are treated as <glossary tag="octal">octal</glossary> (base 8) numbers, instead of <href tag="glossary/Math,_Logi/8.xml">decimal</href> (base 10). If the <b>convertOctals</b> is false, all numbers (except <glossary tag="hexadecimal">hexadecimal</glossary> numbers, which start with 0x) are treated as <href tag="glossary/Math,_Logi/8.xml">decimal</href>.</p><p/><p>Since the <b>convertOctals</b> is a <href tag="../dictionary/local_property.xml">local property</href>, its value is <command tag="reset">reset</command> to false when the current <glossary tag="handler">handler</glossary> finishes <glossary tag="execute">executing</glossary>. It retains its value only for the current <glossary tag="handler">handler</glossary>, and setting it in one <glossary tag="handler">handler</glossary> does not affect its value in other <glossary tag="handler">handlers</glossary> it <glossary tag="call">calls</glossary>.</p>
  </description>
</doc>