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 : 07/17/18-05:40:01 AM Z CEST