views:

63

answers:

4

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.

+2  A: 

Would durationTenthsOfASecond be too verbose?

Manoj Govindan
+1  A: 

http://en.wiktionary.org/wiki/decisecond

StephaneT
right, pasted wrong url, decasecond is 10 seconds, not a tenth
StephaneT
A: 

I'm unaware of the context, but duration with a comment saying that it's in deciseconds might be reasonable.

imgx64
+2  A: 

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.

Echelon