by Example
Показать выпадающий список
Configuration of number_format()
Эта страница доступна только на английском языке.
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'models/function_core.php';
/**
* Function configuration
*
* @see docs/function-configuration.txt
*/
class number_format extends function_core
{
public $examples = [
1234.56,
[1234.56, 2, ',', ' '],
[1234.5678, 2, '.', '']
];
// public $synopsis = 'string number_format ( float $number [, int $decimals = 0 ] )';
public $synopsis = 'string number_format ( float $number , int $decimals = 0 , string $dec_point = "." , string $thousands_sep = "," )';
}
Powered by
PHP 7.1.33 (0.01 s)
2014-2017 Michel Corne