File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
reference/bc/bcmath/number Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3939 </simpara >
4040 <simpara >
4141 When the <property >BcMath\Number::scale</property > of the result object is automatically set,
42- the larger <property >BcMath\Number::scale</property > of the two numbers used for addition is used.
42+ the greater <property >BcMath\Number::scale</property > of the two numbers used for addition is used.
4343 </simpara >
4444 <simpara >
4545 That is, if the <property >BcMath\Number::scale</property >s of two values are <literal >2</literal >
Original file line number Diff line number Diff line change 5353 +<literal >10</literal >.
5454 A <literal >0</literal > at the end of the result is considered not to need expansion, so the <property >
5555 BcMath\Number::scale</property > is reduced by that amount.
56- The <property >BcMath\Number::scale</property > will never be smaller than the <property >BcMath\Number::scale
56+ The <property >BcMath\Number::scale</property > will never be less than the <property >BcMath\Number::scale
5757 </property > before expansion.
5858 </simpara >
5959 <example >
Original file line number Diff line number Diff line change 3535 If <parameter >scale</parameter > is explicitly specified, <property >BcMath\Number::scale</property > of the
3636 remainder will be the specified value.
3737 When the <property >BcMath\Number::scale</property > of the result's remainder object is automatically set,
38- the larger <property >BcMath\Number::scale</property > of the two numbers used for modulus operation is used.
38+ the greater <property >BcMath\Number::scale</property > of the two numbers used for modulus operation is used.
3939 </simpara >
4040 <simpara >
4141 That is, if the <property >BcMath\Number::scale</property >s of two values are <literal >2</literal >
Original file line number Diff line number Diff line change 2929 </simpara >
3030 <simpara >
3131 When the <property >BcMath\Number::scale</property > of the result object is automatically set,
32- the larger <property >BcMath\Number::scale</property > of the two numbers used for modulus operation is used.
32+ the greater <property >BcMath\Number::scale</property > of the two numbers used for modulus operation is used.
3333 </simpara >
3434 <!-- Auto scale example -->
3535 <xi : include xpointer =" xmlns(db=http://docbook.org/ns/docbook) xpointer(id('bcmath-number.add')/db:refsect1[@role='returnvalues']/db:simpara[3])" />
Original file line number Diff line number Diff line change 3939 </simpara >
4040 <simpara >
4141 When the <property >BcMath\Number::scale</property > of the result object is automatically set,
42- the larger <property >BcMath\Number::scale</property > of the two numbers used for subtraction is used.
42+ the greater <property >BcMath\Number::scale</property > of the two numbers used for subtraction is used.
4343 </simpara >
4444 <!-- Auto scale example -->
4545 <xi : include xpointer =" xmlns(db=http://docbook.org/ns/docbook) xpointer(id('bcmath-number.add')/db:refsect1[@role='returnvalues']/db:simpara[3])" />
You can’t perform that action at this time.
0 commit comments