public static float convertToFloat (@Nullable final Object aSrcValue, final float fDefault)
  {
    final Float aValue = convert (aSrcValue, Float.class, null);
    return aValue == null ? fDefault : aValue.floatValue ();
  }
public static float convertToFloat ( @ Nullable final Object aSrcValue , final float fDefault ) { final Float aValue = convert ( aSrcValue , Float . class , null ) ; return aValue == null ? fDefault : aValue . floatValue ( ) ; }
Convert the passed source value to float

@param aSrcValue
The source value. May be <code>null</code>.
@param fDefault
The default value to be returned if an error occurs during type
conversion.
@return The converted value.
@throws RuntimeException
If the converter itself throws an exception
@see TypeConverterProviderBestMatch