![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 18 Pomógł: 0 Dołączył: 15.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
Witam a więc mój problem wygląda następująco : pobieram liczby z tabel z mysql i wyświetlam je w tabeli w html (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) - to jest u mnie ok ale chodzi mi o to żeby pobraną liczbę np: 9876234.89 zapisać w następującej postaci 9 876 234.89 tzw tak żeby były separatory dziesiętne (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
może jest do tego jakaś funkcja (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Pozdrawiam (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 36 557 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
http://pl2.php.net/manual/pl/function.number-format.php
a na przyszlosc zagladaj do manuala |
|
|
![]()
Post
#3
|
|
Grupa: Przyjaciele php.pl Postów: 1 595 Pomógł: 282 Dołączył: 24.09.2007 Skąd: Reda, Pomorskie. Ostrzeżenie: (0%) ![]() ![]() |
manual szukaj funkcja printf( ... )
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 18 Pomógł: 0 Dołączył: 15.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
dziękuje za pomoc (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) pozdrawiam (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) jeszcze raz dziękuję (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 06:54 |