🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #1223

Re: formatowanie liczby

#1223
From: Grzegorz (Greg)
Date: Mon, 27 Aug 2001 10:33
15 lines
1208 bytes
> Pomimo analizy manuala nie udało mi się rozwiązać następującego problemu.
> Próbowałem to zrobić za pomocą sprintf'a.
>
> Jak wyswietlić liczbe np. 1234567.89  w formacie  xxx.xxx.xxx,xx   czyli
np.
> 1.234.567,89

A moze
number_format ($liczba, 2, ",", ".");

--
pozdrawiam
Grzegorz Barcicki
-----------------------------------------------------
HomeNet - http://home.pl - info@home.pl - 0801 325555
Technical Details
Message-ID: <3b8a2392$1@news.home.net.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.home.net.pl
References: <9md4rb$a2e$1@news.tpi.pl>

Show Full Headers
Complete Article Headers
From: "Grzegorz \(Greg\)" <g.barcicki@nospam.home.pl>
Newsgroups: pl.comp.lang.php
References: <9md4rb$a2e$1@news.tpi.pl>
Subject: Re: formatowanie liczby
Date: Mon, 27 Aug 2001 12:33:57 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 213.25.123.2
Message-ID: <3b8a2392$1@news.home.net.pl>
X-Trace: 27 Aug 2001 12:40:18 +0200, 213.25.123.2
Organization: HomeNet News Server
X-Authenticated-User: greg@sz.home.pl
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.home.net.pl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit