caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] postscript, printf module and coma separator.
@ 2001-06-08 16:33 Sven LUTHER
  2001-06-11 17:30 ` [Caml-list] " Nicolas GEORGE
  0 siblings, 1 reply; 3+ messages in thread
From: Sven LUTHER @ 2001-06-08 16:33 UTC (permalink / raw)
  To: caml-list; +Cc: nicolas.george

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-12 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-08 16:33 [Caml-list] postscript, printf module and coma separator Sven LUTHER
2001-06-11 17:30 ` [Caml-list] " Nicolas GEORGE
2001-06-12 11:03   ` Sven LUTHER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).