note 3289 deleted from function.base-convert by cmb

From: Date: Fri, 19 Oct 2018 13:29:56 +0000
Subject: note 3289 deleted from function.base-convert by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-209464@lists.php.net to get a copy of this message
Note Submitter: tim_converse at yahoo dot com ---- base_convert expects its string arguments to be integral, and gives nonsensical answers when given floating-point strings. For example, base_convert("1.0", 10, 2) yields "1100100". It seems that "1.0" is being interpreted as "100". (PHP4.0b3).

« previous php.notes (#209464) next »