Opened 8 years ago

Last modified 7 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:
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 by jscipione, 8 years ago

Owner: changed from stippi to jscipione
Status: newassigned

I am gonna try to tackle this one.

comment:2 by jscipione, 7 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, 7 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.

Note: See TracTickets for help on using tickets.