I made some corrections to the code of Write2 in the development version, so now this should work also without FormatType->FortranForm]
Write2["tmp.f", test = a/100 + 5, FormatType -> FortranForm];
test = a*1.D-2 + 5D0
> Is this o.k. ? :
> In:= Write2["/tmp/tt.f",
> test=a/100 +5 x,FormatType->FortranForm];
> In:= !!/tmp/tt.f
> test = 1.D-2*a + 5D0*x
> We've found a bug in function Write2 in FeynCalc.
> when something like a/100 is transformed to fortran code,
> it becomes a/100D2. This is wrong.
This archive was generated by hypermail 2b29 : 11/20/18-10:40:01 PM Z CET