float fBestBV = -1;
double fBestBV = -1;
    public Mounted getMainWeapon()    {        float fBestBV = -1;        Mounted mBest = null;        for (Enumeration e = getWeapons(); e.hasMoreElements(); ) {            Mounted m = (Mounted)e.nextElement();            if (m.isDestroyed()) continue;                        float fValue = m.getType().getBV(this);            if (fValue > fBestBV) {                fBestBV = fValue;                mBest = m;            }        }        return mBest;    }