You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/api_en/unbinary.xml
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -17,20 +17,11 @@ String s3 = "00000100";
17
17
println(unbinary(s1)); // Prints "16"
18
18
println(unbinary(s2)); // Prints "8"
19
19
println(unbinary(s3)); // Prints "4"
20
-
21
-
int i1 = 10000;
22
-
int i2 = 1000;
23
-
int i3 = 100
24
-
println(unbinary(i1)); // Prints "16"
25
-
println(unbinary(i2)); // Prints "8"
26
-
println(unbinary(i3)); // Prints "4"
27
20
]]></code>
28
21
</example>
29
22
30
23
<description><![CDATA[
31
24
Converts a <b>String</b> representation of a binary number to its equivalent integer value. For example, <b>unbinary("00001000")</b> will return <b>8</b>.
32
-
33
-
Alternately, converts an <b>int</b> representation of a binary number to its equivalent integer value. For example, <b>unbinary(1000)</b> will return <b>8</b>.
0 commit comments