Opened 8 years ago
Closed 8 years ago
#4811 closed defect (fixed)
Function b10bin(x) in Calculator Activity does not give desired output
Reported by: | gauravm043 | Owned by: | gauravm043 |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Sugar | Version: | Unspecified |
Severity: | Unspecified | Keywords: | Calculate Activity |
Cc: | Distribution/OS: | Ubuntu | |
Bug Status: | Unconfirmed |
Description (last modified by gauravm043)
Function b10bin() in Calculator is supposed to return decimal value of a binary number given as input but it is returning
b10bin(1111) = 15 Correct
b10bin(1000) = 1 Incorrect
b10bin(1010) = 5 Incorrect
There is a need to correct the function Implementation.
Change History (5)
comment:1 Changed 8 years ago by gauravm043
comment:2 Changed 8 years ago by gauravm043
- Description modified (diff)
comment:3 Changed 8 years ago by gauravm043
- Description modified (diff)
comment:4 Changed 8 years ago by gauravm043
- Description modified (diff)
comment:5 Changed 8 years ago by godiard
- Resolution set to fixed
- Status changed from new to closed
Fixed by a31d31a715076f110f1fb21ef4a08d1627329d86
Note: See
TracTickets for help on using
tickets.
I am working on it :) .