public float ComputeWeight() { var weight = DbEntry.GetCombinedPropFloat("weight", m_Properties); if (weight == 0.0f) { weight = 0.1f; } return(m_Count * weight); }
public float ComputeWeight() { var weight = DbEntry.GetCombinedPropFloat("weight", m_Properties); if (weight == 0.0f) { weight = 0.1f; } return(m_Count * weight); }