Issue 46523 - trailing minus sign sometimes ignored
Summary: trailing minus sign sometimes ignored
Status: ACCEPTED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 1.1.4
Hardware: PC All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 05:41 UTC by bluegreenbrown
Modified: 2017-05-20 11:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bluegreenbrown 2005-04-02 05:41:53 UTC
If a field is formatted with Category=Number, Format=General, Language=Default
I can enter a negative number as: 300- and it becomes -300 in the cell.  Jolly good.

But, if a field is formatted as 
#,##0.00;[RED]-#,##0.00
and I enter 300- the cell becomes 300.00 instead of -300.00
Comment 1 bluegreenbrown 2005-04-02 05:45:09 UTC
This problem does not happen if I enter something like 1,000-
Comment 2 frank 2005-04-03 21:25:12 UTC
what's the locale used on your system ?

Frank
Comment 3 bluegreenbrown 2005-04-12 00:28:42 UTC
locale is English (USA)
Comment 4 frank 2005-04-15 08:57:23 UTC
Hi Eike,

if it works for default nuimberformat, we should do so for userdefined and other
formats too.

Frank
Comment 5 ooo 2005-04-15 11:49:53 UTC
It's more an error that it works for the General format and that for formats
that include a negative part the absolute value is taken. The result should be
of type string instead.
Comment 6 Marcus 2017-05-20 11:13:26 UTC
Reset assigne to the default "issues@openoffice.apache.org".