Content

Bug #361

Calculator - leading 0 leads to funny calculation

Added by Herman van Hazendonk almost 7 years ago. Updated about 6 years ago.

Status:Closed Start date:01/18/2013
Priority:Normal Due date:
Assignee:Simon Busch % Done:

0% Total progress

Category:- Spent time: -
Target version:LuneOS - Affogato

Description

See screenshot. Maybe trim the leading 0?

Leading0Calc.png (41.9 kB) Herman van Hazendonk, 01/18/2013 07:02 PM


Issue Hierarchy ()

History

Updated by pc world almost 7 years ago

Fixed it; #377 needs to be resolved before being able to commit it

Updated by pc world almost 7 years ago

Btw, the reason is that a leading zero leads to the number being interpreted as base 8
233 in base 8 is 155 in base 10 (parseInt("233", 8))

Updated by Simon Busch over 6 years ago

  • Target version set to Affogato

Updated by Tom King about 6 years ago

  • Assignee set to Simon Busch
  • Status changed from New to Resolved

Updated by Tom King about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF