Converting frequency to time (SOLVED)

if cycle_time is a floating point number you could write

the math will be done using floating point (on a UNO and the likes float and double have the same precision - they both use 4 bytes)