From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: caml-list@inria.fr
Cc: nicolas.george@ens.fr
Subject: [Caml-list] postscript, printf module and coma separator.
Date: Fri, 8 Jun 2001 18:33:21 +0200 [thread overview]
Message-ID: <20010608183321.A14580@lambda.u-strasbg.fr> (raw)
Hello, ...
I am playing with the postscript.ml module from Nicolas Georges.
Unfortunately, i have the LANG variable set to fr_FR, and as thus fprintf
outputs floats as :
3,14
but this is not a valid postscript coordinate.
removing the LANG variable give me the standard 3.14 output, which is
acceptable to generate postscript files.
Is there a way to have printf output floats in the standard C "." format,
independent of locales ?
Or is the best guess as how to solve this to backup, change to "" and then set
again the LANG variable using the appropriate ocaml functions ?
Friendly,
Svne Luther
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2001-06-08 16:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-08 16:33 Sven LUTHER [this message]
2001-06-11 17:30 ` [Caml-list] " Nicolas GEORGE
2001-06-12 11:03 ` Sven LUTHER
2001-06-08 17:02 [Caml-list] " Dave Berry
2001-06-11 15:36 ` Sven LUTHER
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010608183321.A14580@lambda.u-strasbg.fr \
--to=luther@dpt-info.u-strasbg.fr \
--cc=caml-list@inria.fr \
--cc=nicolas.george@ens.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox