%we - Display Real

%we is used for the output of floating point values in exponent form. The exponent part (following the letter 'e') always contains a sign and two digits.

format

output for x=0.0126

comment

%we

1.2607000e-02

6 decimal places, otherwise minimum width

%14we

��1.260000e-02

minimum of 14 characters, right justified

%10.2we

��1.26e-02

10 characters, 2 decimal places

%6.0we

1e-02

6 characters, no decimal point

%-9.1we

1.3e-02��

9 characters, 1 decimal place, left justified

%010.3we

01.260e-02

right justified, padded with zeros

%+10.2we

+1.26e-02

force a + sign when not negative

%#8.0we

��1.e-02

forces a decimal point when the precision modifier is zero

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited