source: www/manuals/PHP_manual/function.bindec.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 2.6 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>bindec</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="Mathematical Functions"
13HREF="ref.math.html"><LINK
14REL="PREVIOUS"
15TITLE="base_convert"
16HREF="function.base-convert.html"><LINK
17REL="NEXT"
18TITLE="ceil"
19HREF="function.ceil.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.base-convert.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.ceil.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.bindec"
75></A
76>bindec</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN40535"
81></A
82><P
83> (PHP 3, PHP 4 )</P
84>bindec&nbsp;--&nbsp;Binary to decimal</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN40538"
89></A
90><H2
91>Description</H2
92>int <B
93CLASS="methodname"
94>bindec</B
95> ( string binary_string)<BR
96></BR
97><P
98>&#13; Returns the decimal equivalent of the binary number represented by
99 the <TT
100CLASS="parameter"
101><I
102>binary_string</I
103></TT
104> argument.
105 </P
106><P
107>&#13; <B
108CLASS="function"
109>bindec()</B
110> converts a binary number to an
111 <A
112HREF="language.types.integer.html"
113><B
114CLASS="type"
115>integer</B
116></A
117>. The largest number that can be converted is
118 31 bits of 1's or 2147483647 in decimal.
119 </P
120><P
121>&#13; See also: <A
122HREF="function.decbin.html"
123><B
124CLASS="function"
125>decbin()</B
126></A
127>.
128 </P
129></DIV
130><DIV
131CLASS="NAVFOOTER"
132><HR
133ALIGN="LEFT"
134WIDTH="100%"><TABLE
135SUMMARY="Footer navigation table"
136WIDTH="100%"
137BORDER="0"
138CELLPADDING="0"
139CELLSPACING="0"
140><TR
141><TD
142WIDTH="33%"
143ALIGN="left"
144VALIGN="top"
145><A
146HREF="function.base-convert.html"
147ACCESSKEY="P"
148>Pøedcházející</A
149></TD
150><TD
151WIDTH="34%"
152ALIGN="center"
153VALIGN="top"
154><A
155HREF="index.html"
156ACCESSKEY="H"
157>Domù</A
158></TD
159><TD
160WIDTH="33%"
161ALIGN="right"
162VALIGN="top"
163><A
164HREF="function.ceil.html"
165ACCESSKEY="N"
166>Dal¹í</A
167></TD
168></TR
169><TR
170><TD
171WIDTH="33%"
172ALIGN="left"
173VALIGN="top"
174>base_convert</TD
175><TD
176WIDTH="34%"
177ALIGN="center"
178VALIGN="top"
179><A
180HREF="ref.math.html"
181ACCESSKEY="U"
182>Nahoru</A
183></TD
184><TD
185WIDTH="33%"
186ALIGN="right"
187VALIGN="top"
188>ceil</TD
189></TR
190></TABLE
191></DIV
192></BODY
193></HTML
194>
Note: See TracBrowser for help on using the repository browser.