Opened 9 years ago

Closed 4 years ago

#409 closed defect (fixed)

CL:FORMAT ~$ buglet

Reported by: Mark Evenson Owned by:
Priority: minor Milestone: 1.8.0
Component: (A)MOP Version: 1.4.0-dev
Keywords: low-hanging-fruit Cc:
Parent Tickets:

Description

Scott notes in the mailing list

In 1.3.2,

  > (format nil "~$" -32.17)
  --32.17

Negative values are getting a double minus sign.

The right fix seems to be, in 'format-dollars', to pass '(abs number)'
rather than 'number' to 'sys::flonum-to-string'.

Change History (10)

comment:1 Changed 8 years ago by Mark Evenson

Milestone: 1.3.41.4.0

Ticket retargeted after milestone closed

comment:2 Changed 8 years ago by Mark Evenson

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:3 Changed 8 years ago by Mark Evenson

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

comment:4 Changed 5 years ago by Mark Evenson

Milestone: 1.6.01.6.1

Ticket retargeted after milestone closed

comment:5 Changed 5 years ago by Mark Evenson

Milestone: 1.6.11.6.2

Ticket retargeted after milestone closed

comment:6 Changed 5 years ago by Mark Evenson

Milestone: 1.6.21.7.0

comment:7 Changed 5 years ago by Mark Evenson

Milestone: 1.7.01.7.1

Ticket retargeted after milestone closed

comment:8 Changed 4 years ago by Mark Evenson

Milestone: 1.7.11.7.2

Ticket retargeted after milestone closed

comment:9 Changed 4 years ago by Mark Evenson

Milestone: 1.7.21.8.0

Milestone renamed

comment:10 Changed 4 years ago by Mark Evenson

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.