Java Programming/Keywords/float
Tools
General
Sister projects
In other projects
float
is akeyword which designates the 32 bit floatprimitive type.
Thejava.lang.Float
class is the nominal wrapper class when you need to store afloat
value but an object reference is required.
Syntax:
float
<variable-name> = <float-value>;
For example:
![]() | floatprice=49.95; |
See also: