I have a timing module:
start_timing = time.time()
#stuff happening here
report_timing["INT_MODULE"] = time.time()- start_timing
If I use str(report_timing["INT_MODULE"]) what I get is the very long:0.000441074371338.
Is there a standard way to round this float to 0.0004 or other way to represent to less digits like 440 microseconds, in other words, a standard way to convert time?
you can try some string formatting: