Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Floating-Point Numbers

Floating-point values use:

Float

Example:

Float Temperature = 21.5;

Floating-point arithmetic supports the standard arithmetic operators:

Float A = 10.5;
Float B = 2.0;

Float Result = A + B;

A floating-point value can be read from standard input using Input(Float):

Float Value = Input(Float);

See Input and Operators for more details.


← Previous Next →