Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Better Term than "Decisecond" [closed]

I have a data element with units of tenths of a second (that is, the value "123" really means "12.3 seconds").

What is a good term for an descriptive identifier for this type of data? I'd be comfortable writing something like durationMilliseconds or durationMicroseconds, but durationDeciseconds looks odd. durationInTenthsOfSeconds doesn't make me happy either.

like image 864
Kristopher Johnson Avatar asked Dec 16 '22 21:12

Kristopher Johnson


1 Answers

Decisecond is the standard SI unit for this measurement, so I'd say using that is better than inventing something that may be ambiguous.

Actually, in the past I've used things like TICKS_PER_100MS for the same reason. But durationIn100msPeriods is just as bad as durationInTenthsOfSeconds.

like image 91
Echelon Avatar answered Jan 15 '23 00:01

Echelon