Le dimanche 27/10/13 à 08h27,
Christian Feuersaenger <cfe...@go...> a écrit :
> Hi Denis,
Hi Christian,
> thanks for the feature request.
You're welcome: thanks to you for your answer! :)
> So what you like to do would be
>
> \pgfmathprintnumber{1,5} and get 1,50 or something like that, right?
That's probably what I requested implies...
> Unfortunately, since the number parser is closely tight to the
> expression parser as well, you would also have the effect
>
> \pgfmathparse{ 1,5 + 0,5 }
>
> and would expect 2.0 as result.
Indeed.
> I fear this, in turn, has a couple of risks... I am unsure of wether
> that would be a good idea.
Well, I must admit this kind of side effects didn't come to my mind.
> Well, maybe I can add an option like that.
Could be nice.
> But it would probably cause defects when it is combined with
> expression parsing.
I could proceed to some tests if you specify to me what are the contexts
where these defects could arise.
Kind regards.
--
Denis
|