设置Float类型参数.

@param value
512447
public void setFloat(Float value) {
		this.checkNull(value);
		list.add(value);
		type.add(Float.class);
	}
984622
public static float getFloat(JSONValue value) {
        if (value == null)
            return 0;
        if (!(value instanceof Number))
            throw new JSONException(NOT_A_NUMBER);
        return ((Number)value).floatValue();
    }
161141
public static final void writeFloat(float value, byte[] array, int offset)
    {
        writeInt(Float.floatToRawIntBits(value), array, offset);
    }
1144828
public void setFloat(String fieldName, Float value) {
		if (value == null) {
			throw new IllegalArgumentException("参数值[" + fieldName + "]不能为NULL.");
		}
		fieldList.add(fieldName);
		statementParameter.setFloat(value);
	}
1296218
public static Float toNullableFloat(Object value) {
		Double result = DoubleConverter.toNullableDouble(value);
		return result != null ? (float) ((double) result) : null;
	}
649109
private boolean isValidAttrValue(String value) {
        final float parseFloat;
        try {
            parseFloat = Float.parseFloat(value);
        } catch (NumberFormatException e) {
            return false;
        }
        return parseFloat >= 1;
    }
100045
def __float(value):
    ''''''
    valid, _value = False, value
    try:
        _value = float(value)
        valid = True
    except ValueError:
        pass
    return (valid, _value, 'float')
935435
public void add( float value ) {
		// see if it needs to grow the queue
		if( size >= data.length) {
			data[start] = value;
			start = (start+1)%data.length;
		} else {
			data[(start+size)%data.length] = value;
			size++;
		}
	}
1223010
public void setFloat(String name, float value) throws UnsupportedEncodingException {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setFloat", new Float(value));
    getBodyMap().put(name, new Float(value));
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setFloat");
  }
797634
public final void putFloat(Object parent, long offset, float value) {
		THE_UNSAFE.putFloat(parent, offset, value);
	}
1202870
public static function toFloat($value)
    {
        if (!static::is($value)) {
            throw new \InvalidArgumentException(
                "The \$value parameter must be numeric (or string representing a big number)."
            );
        }

        if (is_int($value) || is_float($value)) {
            return (float)$value;
        } else {
            return ((Str::contains($value, '.')) ? $value : $value . '.0');
        }
    }
620147
public void update(final float value) {
    if (Float.isNaN(value)) { return; }
    if (isEmpty()) {
      minValue_ = value;
      maxValue_ = value;
    } else {
      if (value < minValue_) { minValue_ = value; }
      if (value > maxValue_) { maxValue_ = value; }
    }
    if (levels_[0] == 0) {
      compressWhileUpdating();
    }
    n_++;
    isLevelZeroSorted_ = false;
    final int nextPos = levels_[0] - 1;
    assert levels_[0] >= 0;
    levels_[0] = nextPos;
    items_[nextPos] = value;
  }
1265554
public void setFloat(int index, float value)
    {
        checkIndexLength(index, SizeOf.SIZE_OF_FLOAT);
        unsafe.putFloat(base, address + index, value);
    }
313610
static public function float($value, $message = null, $propertyPath = null)
        {
            if ( ! is_float($value)) {
                $message = $message ?: sprintf(
                    'Value "%s" is not a float.',
                    static::stringify($value)
                );

                throw static::createException($value, $message, static::INVALID_FLOAT, $propertyPath);
            }
        }
1121826
public void setFloatAttribute(String name, Float value) {
		ensureValue();
		Attribute attribute = new FloatAttribute(value);
		attribute.setEditable(isEditable(name));
		getValue().getAllAttributes().put(name, attribute);
	}
830352
public void putFloat(String key, float value) {
		sharedPreferences.edit().putFloat(key, value).commit();
	}
108110
public void setValue (String name, float value)
    {
        Float oldValue = null;
        if (_prefs.get(name, null) != null || _props.getProperty(name) != null) {
            oldValue = Float.valueOf(_prefs.getFloat(name, super.getValue(name, 0f)));
        }

        _prefs.putFloat(name, value);
        _propsup.firePropertyChange(name, oldValue, Float.valueOf(value));
    }