Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Java Programming/Keywords/float

From Wikibooks, open books for an open world
<Java Programming |Keywords

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:

Computer code
floatprice=49.95;


See also:

Retrieved from "https://en.wikibooks.org/w/index.php?title=Java_Programming/Keywords/float&oldid=3241557"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp