Hi Denis,
thanks for the feature request.
So what you like to do would be
\pgfmathprintnumber{1,5} and get 1,50 or something like that, right?
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. I fear this, in turn, has a couple of
risks... I am unsure of wether that would be a good idea.
Well, maybe I can add an option like that. But it would probably cause
defects when it is combined with expression parsing.
Kind regards
Christian
Am 23.10.2013 13:52, schrieb Denis Bitouzé:
> Hi,
>
> it could be nice for pgfplots to provide a way to specify the input
> decimal separator.
>
> Indeed, in France and probably more generally in Europe, the decimal
> separator is a comma, not a dot. Because of this, localized spreadsheets
> display values with commas as decimal separator that are stored when
> data is copied and pasted. Hence if a French user copies and pastes data
> from the spreadsheets to plain text file in order to plot it with
> pgfplots, he has first to search and replace all the commas by dots,
> which is a pain.
>
> BTW, I wanted to post this feature request on the dedicated SF site:
>
> https://sourceforge.net/p/pgfplots/feature-requests/
>
> but there's no "Create Ticket" buttons.
>
> Best regards.
> --
> Denis
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Pgfplots-features mailing list
> Pgf...@li...
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
|