OT: a C question

New Message Reply Date view Thread view Subject view Author view

From: Olivier BILLARD (obillard++at++free.fr)
Date: 06/20/2001 09:05:58


what is the right argumentto put in a printf to have only two digits in the
exponent field for a double ???

printf("%E") gives 1.23456E001
and I need 1.23456E01 only.

O BILLARD - FRANCE - obillard++at++free.fr
Private: La croix Rolland - 22300 ROSPEZ - 33 (0) 6 68 73 54 92
Office: Airtria - ZA Aeroport - 22300 LANNION - 33 (0) 2 96 05 82 72


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 20 2001 - 09:04:22 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.