Method floatValue()
Return type: float
Member of:
java.math.BigDecimal
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
assertTrue(((BigDecimal) c.stringAsValue("1.1")).floatValue() - 1.1f < .05);
2
float rate = getQuantity(tableName, null).floatValue()
3
float compositeAlpha = ImageAlpha == null ? 0.7f : ImageAlpha.floatValue();
4
tmpElem = ((java.math.BigDecimal)element).floatValue();
5
inputs_[parameterIndex-1] = new Float (x.floatValue ());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.