Dict issue?

yes,

function f(data)
    Tf = data["total_time"]::Float64
    dtime = data["dt"]::Float64
...
end

something like this so they have to be Float64 (instead of converting them)