Article View: pl.comp.lang.php
Article #230529Re: formatowanie wyświetlanych liczb
From: Borys Pogoreło
Date: Sun, 10 Aug 2014 21:28
Date: Sun, 10 Aug 2014 21:28
12 lines
1139 bytes
1139 bytes
Dnia Sat, 09 Aug 2014 16:48:14 +0200, Lanki napisał(a): > Mam zrobione coś takiego: > echo rtrim( rtrim( number_format($liczba, 16, ',', ' '), '0'), ',') > Działa jak należy, jednak jest przekombinowane. Jak można to zrobić > prościej? Owinąć to w funkcję? :) -- Borys Pogoreło borys(#)leszno,edu,pl
Technical Details
Message-ID:
<1numyayx5z5d1.rffy32syhfrl$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mailReferences:
<ls5cbb$qtr$1@news.dialog.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mail From: Borys Pogoreło <borys@pl.edu.leszno> Newsgroups: pl.comp.lang.php Subject: Re: formatowanie wyświetlanych liczb Date: Sun, 10 Aug 2014 23:28:32 +0200 Organization: snafu Lines: 12 Message-ID: <1numyayx5z5d1.rffy32syhfrl$.dlg@40tude.net> References: <ls5cbb$qtr$1@news.dialog.net.pl> NNTP-Posting-Host: bda212.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: thunar.promontel.net.pl 1407706080 7555 83.27.242.212 (10 Aug 2014 21:28:00 GMT) X-Complaints-To: abuse@promontel.net.pl NNTP-Posting-Date: Sun, 10 Aug 2014 21:28:00 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.14.1pl X-fnord: obey. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit