[Bugs] #4811 Sugar UNSP: Function b10bin(x) in Calculator Activity does not give desired output
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Jan 19 12:15:51 EST 2015
#4811: Function b10bin(x) in Calculator Activity does not give desired output
---------------------------------------------+-----------------------------
Reporter: gauravm043 | Owner: gauravm043
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified
Component: Sugar | Version: Unspecified
Severity: Unspecified | Keywords: Calculate
Distribution/OS: Ubuntu | Activity
| Bug Status: Unconfirmed
---------------------------------------------+-----------------------------
\
\
Function b10bin() in Calculator is supposed to return decimal value of a
binary number given as input but it is returning
b10bin(1111) = 23 Correct
b10bin(1000) = 1 Incorrect
b10bin(1010) = 5 Incorrect
There is a need to correct the function Implementation.
\
\
\
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4811>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list