[Bug 28514] [QT3] format-integer-044 does not take minus-sign into account


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
I think code that wants to handle negative numbers with format-integer will
often apply format-integer to the absolute value, and then "do its own thing"
to indicate that it is negative. For example

"The temperature is " || format-integer(abs($N)) || " degrees " || (if ($N gt
0) then "above zero" else if ($N lt 0) then "below zero" else "".

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 20 April 2015 14:01:17 UTC