-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99d8e56
commit 0548a20
Showing
22 changed files
with
235 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: c7e83fbbbcde9f54affc09424d032c38492a3ff4 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara --> | ||
<reference xml:id="class.bcmath-number" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
|
||
<title>A classe BcMath\Number</title> | ||
<titleabbrev>BcMath\Number</titleabbrev> | ||
|
||
<partintro> | ||
<section xml:id="bcmath-number.intro"> | ||
&reftitle.intro; | ||
<simpara> | ||
Uma classe para número de precisão arbitrária. | ||
Estes objetos suportam sobrecarga de operadores | ||
<link linkend="language.operators.arithmetic">aritméticos</link> e | ||
<link linkend="language.operators.comparison">comparativos</link>. | ||
</simpara> | ||
|
||
<note> | ||
<simpara> | ||
Esta classe não é afetada pela diretiva INI | ||
<link linkend="ini.bcmath.scale">bcmath.scale</link> | ||
definida no &php.ini;. | ||
</simpara> | ||
</note> | ||
|
||
<note> | ||
<simpara> | ||
O comportamento de um operador sobrecarregado é o mesmo que especificar &null; para o | ||
parâmetro <parameter>scale</parameter> no método correspondente. | ||
</simpara> | ||
</note> | ||
</section> | ||
|
||
<section xml:id="bcmath-number.synopsis"> | ||
&reftitle.classsynopsis; | ||
|
||
<classsynopsis class="class"> | ||
<ooclass> | ||
<modifier>final</modifier> | ||
<modifier>readonly</modifier> | ||
<classname>BcMath\Number</classname> | ||
</ooclass> | ||
|
||
<oointerface> | ||
<modifier>implements</modifier> | ||
<interfacename>Stringable</interfacename> | ||
</oointerface> | ||
|
||
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo> | ||
<fieldsynopsis> | ||
<modifier>public</modifier> | ||
<type>string</type> | ||
<varname linkend="bcmath-number.props.value">value</varname> | ||
</fieldsynopsis> | ||
<fieldsynopsis> | ||
<modifier>public</modifier> | ||
<type>int</type> | ||
<varname linkend="bcmath-number.props.scale">scale</varname> | ||
</fieldsynopsis> | ||
|
||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.bcmath-number')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='BcMath\\Number'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.bcmath-number')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='BcMath\\Number'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
</classsynopsis> | ||
</section> | ||
|
||
<section xml:id="bcmath-number.props"> | ||
&reftitle.properties; | ||
<variablelist> | ||
<varlistentry xml:id="bcmath-number.props.value"> | ||
<term><varname>value</varname></term> | ||
<listitem> | ||
<simpara> | ||
Uma representação string de um número de precisão arbitrária. | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry xml:id="bcmath-number.props.scale"> | ||
<term><varname>scale</varname></term> | ||
<listitem> | ||
<simpara> | ||
O valor de escala atualmente definido no objeto. | ||
Para objetos resultantes de cálculos, este valore é computado e definido automaticamente, | ||
a menos que o parâmetro <parameter>scale</parameter> tenha sido definido no método de cálculo. | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
</section> | ||
|
||
</partintro> | ||
|
||
&reference.bc.bcmath.entities.number; | ||
|
||
</reference> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.