★ wanayoo — archive 1999 http://www.php.net/manual/function.bindec.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Math.
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Math.
* abs
* acos
* asin
* atan
* atan2
* base_convert
* bindec
* ceil
* cos
* decbin
* dechex
* decoct
* deg2rad
* exp
* floor
* getrandmax
* hexdec
* log
* log10
* max
* min
* mt_rand
* mt_srand
* mt_getrandmax
* number_format
* octdec
* pi
* pow
* rad2deg
* rand
* round
* sin
* sqrt
* srand
* tan
Manual: bindec
View the source code for this pageSearch the site



Previous page
 base_convert
 Updated
Sat, 12 Aug 2000
ceil 
Next page


bindec

(PHP3 , PHP4 )

bindec -- Binary to decimal

Description

int bindec (string binary_string)

Returns the decimal equivalent of the binary number represented by the binary_string argument.

Octdec converts a binary number to a decimal number. The largest number that can be converted is 31 bits of 1's or 2147483647 in decimal.

See also the decbin() function.


 About Notes


Previous page
 base_convert
 Updated
Sat, 12 Aug 2000
ceil 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.