From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA25736; Fri, 8 Jun 2001 18:30:10 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA25809 for ; Fri, 8 Jun 2001 18:30:09 +0200 (MET DST) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.6.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f58GU8L23230 for ; Fri, 8 Jun 2001 18:30:08 +0200 (MET DST) Received: from lambda.u-strasbg.fr (mail@lambda.u-strasbg.fr [130.79.90.63]) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id SAA08245; Fri, 8 Jun 2001 18:29:38 +0200 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.22 #1 (Debian)) id 158PCL-0003qZ-00; Fri, 08 Jun 2001 18:33:21 +0200 Date: Fri, 8 Jun 2001 18:33:21 +0200 To: caml-list@inria.fr Cc: nicolas.george@ens.fr Subject: [Caml-list] postscript, printf module and coma separator. Message-ID: <20010608183321.A14580@lambda.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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