.01
.02
.03
.04
.05
.06
.07
.08
.09
.10
.11
.12
.13
.14
.15
.16
.17
.18
.19
.20
.21
.22
.23
.24
.25
.26
.27
.28
.29
|
|
<?php
/******************************************************************************/
/* */
/* __ ____ */
/* ___ / / ___ / __/__ __ _____________ ___ */
/* / _ \/ _ \/ _ \_\ \/ _ \/ // / __/ __/ -_|_-< */
/* / .__/_//_/ .__/___/\___/\_,_/_/ \__/\__/___/ */
/* /_/ /_/ */
/* */
/* */
/******************************************************************************/
/* */
/* Titre : Avoir 10000 et afficher 10 000 à l'écran */
/* */
/* URL : http://www.phpsources.org/scripts168-PHP.htm */
/* Auteur : PHP Sources */
/* Date édition : 22 Avril 2006 */
/* */
/******************************************************************************/
$nombre = "1345742131";
$nombre = number_format( $nombre, 0, '', ' ');
echo $nombre;
// Affiche :: 1 345 742 131
?>
|