How to camelcase decibels?
        Posted  
        
            by Roddy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Roddy
        
        
        
        Published on 2010-05-24T21:07:50Z
        Indexed on 
            2010/05/24
            21:11 UTC
        
        
        Read the original article
        Hit count: 351
        
camelcasing
|decibel
The standard abbreviations for decibels is "dB" (note the case!)
So, if I have a variable, holding (for instance) a maximum dB value, how best to name it?
- maxDbValue
 - maxdBValue
 - maxDecibelValue
 - something else?
 
Each has disdvantages - #1 swaps the case of the unit, #2 doesn't clearly split max from dB, and #3 is verbose...
I think #1 feels best, but...???
© Stack Overflow or respective owner