Due to docbook not being able to group optional parameters (yet), using multiple methodsynopsis.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253220 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2008-02-19 11:50:34 +00:00
parent 847b241496
commit 10ae608f1f

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.number-format" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>number_format</refname>
@ -12,7 +12,12 @@
<type>string</type><methodname>number_format</methodname>
<methodparam><type>float</type><parameter>number</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>decimals</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>dec_point</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>string</type><methodname>number_format</methodname>
<methodparam><type>float</type><parameter>number</parameter></methodparam>
<methodparam><type>int</type><parameter>decimals</parameter></methodparam>
<methodparam><type>string</type><parameter>dec_point</parameter></methodparam>
<methodparam><type>string</type><parameter>thousands_sep</parameter></methodparam>
</methodsynopsis>
<para>