RE: a C question

New Message Reply Date view Thread view Subject view Author view

From: Olivier BILLARD (obillard++at++free.fr)
Date: 06/21/2001 00:36:01


thank you

> Read the man pages they tell you this
I have done this and on several OS (irix6.5, Solaris and MSVC)
>
> but ("%.2E")

this doesn't answer the question
let say I have 12.234567

%.2E will give 1.23E001
%E will give 1.234567E001

and I nedd 1.23 E 01
I need TWO digits on the E01 (not 001) exponent
I have to feed old hardware with this...

Anyway, I will re write a fprintf function for the float.....

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 : Thu Jun 21 2001 - 00:34:10 PDT

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