static String getQuality ( float quality ) { quality -= 1 ; if ( quality == - 1 ) { return null ; //Quality missing } else { String q = Float . toString ( quality ) ; if ( q . endsWith ( ".0" ) ) { return q . substring ( 0 , q . lastIndexOf ( "." ) ) ; } else { return q ; } } }
Decodes the Quality float value .