Group: comp.lang.fortran · Group Profile · Search for B975 in comp.lang.fortran
Author: Kurt Kallblad
Date: Sep 4, 2008 07:16
"phantasmus" <kramer-fahrer@arcor.de> wrote in message news:8254b0fd-bdd6-47b8-b975-e4b4d822f0f2@v16g2000prc.googlegroups.com... Hi, i want tol display a real number with less decimal places. What i do is an internal write with a format Fx.x like "write(char,form) number" Normally it works fine but my Fortran rounds the last 5 down. Example: 1.555 is rounded by format F4.2...
|