Opened 7 years ago

Last modified 6 years ago

#8503 assigned enhancement

Differentiate between ',' and '.'

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


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 (3)

comment:1 Changed 7 years ago by jscipione

Owner: changed from stippi to jscipione
Status: newassigned

I am gonna try to tackle this one.

comment:2 Changed 6 years ago by jscipione

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 Changed 6 years ago by X512

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.

Note: See TracTickets for help on using tickets.