Opened 13 years ago

Closed 22 months ago

Last modified 22 months ago

#8503 closed enhancement (fixed)

Differentiate between ',' and '.'

Reported by: mmadia Owned by: nobody
Priority: normal Milestone: R1/beta4
Component: Applications/DeskCalc Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Currently (hrev43937) DeskCalc treats ',' and '.' as decimal points. This leads to parse errors when pasting dollar amounts -- e.g., $1,234.56 or €1.234.56. Once the characters are differentiated based upon the current locale, the numeric seperator could be automatically stripped out, leaving just the optional decimal point.

Change History (7)

comment:1 by jscipione, 13 years ago

Owner: changed from stippi to jscipione
Status: newassigned

I am gonna try to tackle this one.

comment:2 by jscipione, 12 years ago

Owner: changed from jscipione to nobody

I tried to tackle this, but, the Interface Kit does not provide this setting so solving this bug is a bit more complicated. I am releasing this ticket to be picked up by someone more interested.

comment:3 by X512, 12 years ago

It can be simply implementing in following way. If both «.» and «,» are present in number than «,» will be ignored. Another idea is use only last «.» or «,» as decimal point, ignoring others.

comment:4 by pulkomandy, 4 years ago

Milestone: R1R1.1

comment:5 by dsizzle, 22 months ago

this should be fixed with https://review.haiku-os.org/c/haiku/+/4965 and https://review.haiku-os.org/c/haiku/+/5338, which made DeskCalc locale-aware.

comment:6 by waddlesplash, 22 months ago

Resolution: fixed
Status: assignedclosed

comment:7 by korli, 22 months ago

Milestone: R1.1R1/beta4
Note: See TracTickets for help on using tickets.