#5319 HIGH Update.: Calculator in a language with ", " for decimal point cannot parse expression.
Zarro Boogs per Child
bugtracker at laptop.org
Mon Dec 10 17:33:43 EST 2007
#5319: Calculator in a language with "," for decimal point cannot parse
expression.
----------------------------------+-----------------------------------------
Reporter: ohshima | Owner: rwh
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: calculator-activity | Version:
Resolution: | Keywords:
Verified: 0 |
----------------------------------+-----------------------------------------
Comment(by AlbertCahalan):
Replying to [comment:2 rwh]:
> Yoshiki: I didn't think of this problem. Perhaps it is better to remove
support for ',' separators again, as it will get harder to parse functions
with multiple arguments then. For example, pow(2,3,0) would be
impossible... What do you think?
You could translate that too. Anybody using "," as a decimal point will
need something else as a list separator. I believe that ";" is the norm in
this case, giving pow(2;3,0). I don't really suggest this though, because
pow(a,b) is not mathematical notation anyway. It's modern programmer
notation, which is always done with "." as the decimal point.
Correct math notation is possible. Some real calculators support it.
--
Ticket URL: <http://dev.laptop.org/ticket/5319#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list