How to do simple float calculations in a interrupt handler on NodeMCU ESP32

Bull. Sorry. Floats are well known for lack of precision. Precision would be obtained by using long integers or something like that. In the Arduino environment, it is common to track microseconds using 'unsigned long' variables.

Perhaps you could post your solution, so people who encounter this thread while looking for similar solutions might benefit?