PropertyType type = MetaDataDictionary.getInstance( ).getPropertyType( prop.getTypeCode( ) );  Object value = getProperty( module, propName ); if ( value instanceof Double ) return ( (Double) value ).doubleValue( );  return type.toDouble( module, value );
Object value = getProperty( module, prop ); return prop.getFloatValue( module, value );
	public double getFloatProperty( Module module, String propName )	{		ElementPropertyDefn prop = getPropertyDefn( propName );		if ( prop == null )			return 0;		PropertyType type = MetaDataDictionary.getInstance( ).getPropertyType(				prop.getTypeCode( ) );		Object value = getProperty( module, propName );		if ( value instanceof Double )			return ( (Double) value ).doubleValue( );		return type.toDouble( module, value );	}