Opened 3 years ago

Last modified 2 years ago

#409 new defect

CL:FORMAT ~$ buglet

Reported by: Evenson Not Org Owned by:
Priority: minor Milestone: 1.6.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'.

Subtickets

Change History (3)

comment:1 Changed 3 years ago by Evenson Not Org

Milestone: 1.3.41.4.0

Ticket retargeted after milestone closed

comment:2 Changed 3 years ago by Evenson Not Org

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:3 Changed 2 years ago by Evenson Not Org

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.