Constructor Float(float value)
Member of: java.lang.Float
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 this(info, new Float(value));
2 return new Float(f).toString();
3 public final void put(Object o, float f) { put(o, new Float(f)); }
4 public void put(String name, float value) { put(name, new Float(value)); }
5 private static Object [] expectedArgs = {"one", new Integer(2), new Float(3.0f), new Short((short)4), new Boolean(true)};
6 public byte byteValue() { return new Float(m_f).byteValue(); }
7 public short shortValue() { return new Float(m_f).shortValue(); }
8 return new Float(rs.getFloat(mapping.getColumnName()));
9 return new Float(rs.getFloat(mapping.getColumnIndex().intValue()));
10 return getFloat(s, new Float(f)).floatValue();
11 return new Float(myValue);
12 resp.put("quote", new Float(_quote));
13 setParameter(i,new Float(f));
14 disp.put("propFloat", new Float(11.3f));
15 arrayList.add(new Float(number));
16 new Float(3.14F));
17 setObjectAsInt(p0, new Float(p1));
18 defaultFloat = new Float(newDefaultFloat);
19 (this, FCONST_0, new Float (0)));
20 return new Float(bytes);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.