mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
124 lines
3.9 KiB
XML
124 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 3f82c54505bbf99a7dfdee2ae7f674b1e2719bd3 Maintainer: PhilDaiguille Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<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>La clase BcMath\Number</title>
|
|
<titleabbrev>BcMath\Number</titleabbrev>
|
|
|
|
<partintro>
|
|
<section xml:id="bcmath-number.intro">
|
|
&reftitle.intro;
|
|
<simpara>
|
|
Una clase para un número de precisión arbitraria.
|
|
Estos objetos soportan los operadores
|
|
<link linkend="language.operators.arithmetic">aritméticos</link> y
|
|
<link linkend="language.operators.comparison">de comparación</link>.
|
|
</simpara>
|
|
|
|
<note>
|
|
<simpara>
|
|
Esta clase no se ve afectada por la directiva INI
|
|
<link linkend="ini.bcmath.scale">bcmath.scale</link>
|
|
definida en el &php.ini;.
|
|
</simpara>
|
|
</note>
|
|
|
|
<note>
|
|
<simpara>
|
|
El comportamiento de un operador sobrecargado es el mismo que especificar &null; para el
|
|
argumento <parameter>scale</parameter> en el método correspondiente.
|
|
</simpara>
|
|
</note>
|
|
</section>
|
|
|
|
<section xml:id="bcmath-number.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<packagesynopsis>
|
|
<package>BcMath</package>
|
|
|
|
<classsynopsis class="class">
|
|
<ooclass>
|
|
<modifier>final</modifier>
|
|
<modifier>readonly</modifier>
|
|
<classname>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>
|
|
</packagesynopsis>
|
|
</section>
|
|
|
|
<section xml:id="bcmath-number.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="bcmath-number.props.value">
|
|
<term><varname>value</varname></term>
|
|
<listitem>
|
|
<simpara>
|
|
Una representación en string de un número de precisión arbitraria.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="bcmath-number.props.scale">
|
|
<term><varname>scale</varname></term>
|
|
<listitem>
|
|
<simpara>
|
|
El valor de la escala actualmente definida en el objeto.
|
|
Para los objetos resultantes de cálculos, este valor se calcula y define automáticamente,
|
|
a menos que el argumento <parameter>scale</parameter> haya sido definido en el 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
|
|
-->
|