Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] postscript, printf module and coma separator.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sven LUTHER <luther@d...>
Subject: [Caml-list] postscript, printf module and coma separator.
Hello, ...

I am playing with the module from Nicolas Georges.

Unfortunately, i have the LANG variable set to fr_FR, and as thus fprintf
outputs floats as :


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 ?


Svne Luther
Bug reports:  FAQ:
To unsubscribe, mail  Archives: