note 16060 added to function.sprintf

From: Date: Mon, 15 Oct 2001 10:44:19 +0000
Subject: note 16060 added to function.sprintf
Groups: php.notes 
Request: Send a blank email to php-notes+get-18923@lists.php.net to get a copy of this message
Problem: get the scientific representation of float number. Solve: I didn't found it easy. Although I use MySQL query: select IF(value=0, 0, value) from PVDouble And result is OK, but... there aren't 'e' char in docs to sprintf format string, but it works ... don't works good, but works. Result has truncated only to numbers char - 'e10'/'e-10' doesn't appear... -- http://www.php.net/manual/en/function.sprintf.php http://master.php.net/manage/user-notes.php?action=edit+16060 http://master.php.net/manage/user-notes.php?action=delete+16060 http://master.php.net/manage/user-notes.php?action=reject+16060

« previous php.notes (#18923) next »