note 18919 added to function.printf

From: Date: Sun, 10 Feb 2002 00:25:40 +0000
Subject: note 18919 added to function.printf
Groups: php.notes 
Request: Send a blank email to php-notes+get-26426@lists.php.net to get a copy of this message
be careful with integers, they cant hold large values. printf("%d",10023123553.45634663); will print out: 1433188961 and printf("%.0f",10023123553.45634663); will print out: 10023123553 -- http://www.php.net/manual/en/function.printf.php http://master.php.net/manage/user-notes.php?action=edit+18919 http://master.php.net/manage/user-notes.php?action=delete+18919 http://master.php.net/manage/user-notes.php?action=reject+18919

« previous php.notes (#26426) next »