|
|
|
|
|
by thebackup
855 days ago
|
|
Capital M is for Mega.
I would use duration_s and duration_ms. const duration_ms = 1000 * duration_s And _us for microsec. const duration_us = 1000 * duration_ms But then the tool would probably reject my code for not following the naming conventions which ”disallows using underscores in variable names”. Guess what I wanted to say is that there are always exceptions to the rule and there should always be some way to turn off the automatic checker for certain sections of the code. |
|