Index
Contact us Forum Portal Registration Memberlist Profile Album NewsSearchFAQ Wiki Downloads Calendar Login Security Login/out RSS Config Project RSS Feeds Music Player
 number_format() - php5.3 -gelöst View unanswered posts

Post new topicReply to topic
Author Message
rebirther
Admin



Gender:

Joined: 19 Dec 2005
Posts: 1539
Location: Germany


germany.gif

PostPosted: 23.07.2010, 18:59    number_format() - php5.3 -gelöst Reply with quoteBack to top

number_format(floatval($row['credits']),"",',', '.'),
number_format($row['credits'],"",',', '.'),


Beide Sachen klappen unter php4 und php 5.2.11, aber nicht in 5.3, bringt Fehler:

Warning: number_format() expects parameter 2 to be long


Lösung:
number_format(floatval($row['credits']),"0",',', '.'),
number_format($row['credits'],"",',', '.'),

_________________
Image Image

Neue Projekte gesucht? Hier seid ihr richtig!

OfflineView user's profileSend private messageSend e-mailMSN MessengerSkype NameICQ Number    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



Show permissions

[ Page generation time: 0.0772s (PHP: 86% - SQL: 14%) | SQL queries: 20 | GZIP disabled | Debug on ]