TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At the moment my report print currency values with siunitx with \$\numprint{12} But negative values displayed as $-12.00

I would like to display it as:


Or you think $-12.00 is ok too for US ?

share|improve this question
Welcome to TeX.SE! How is the macro \numprint defined? (It doesn't seem to be a macro that's set up by the siunitx package.) On the ways of displaying negative amounts of money: There are a quite a few conventions out there, and they depend in part on the currency ($, £, or some other currency unit) in use. The $-12.00 look is reminiscent of how some spreadsheets are set up for calculations with currencies. However, I do not think it's a common way of displaying negative amounts of dollars in running text. I honestly don't know if it's a common display form for other currency units. – Mico Apr 21 '14 at 4:59

If you're going to use a negative sign with dollars, I would definitely put the negative sign before the dollar sign.

Here's a MWE which takes advantage of the fact that siunitx uses expl3 syntax:








 The effect of \verb`round-integer-to-decimal`: 



enter image description here

share|improve this answer
Dear Mr. Ellett, Thank you very much for your fast reply. I'm using latex to generate PDF and it reports an error: ( FP-ROUND ) ( FP-MUL ) ( FP-ROUND ) ( FP-DIV ) ! Argument of \fp_compare_aux_v:w has an extra }. Is it possible to make changes for latex ? I tried to search myself, but there is very few information about fp_compare. – Sergio Apr 22 '14 at 8:40
@Sergio My first thought is that perhaps you need to update to the most current version of LaTeX. If the problem persists after updating, you might want to post a new question. – A.Ellett Apr 22 '14 at 12:26
@sergio You can find information about the expl3 code I've used by running texdoc interface3. – A.Ellett Apr 22 '14 at 12:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.