Float

A float is a data type that can be used to represent a floating point number.

Syntax

A float is defined as a sequence of digits separated by a decimal point .. The digits can be any digit from 0 to 9.

Examples

~main<argc><argv>{<
    pi = 3.14;
    e = 2.718;
    println<format<"pi = {}, e = {}"><pi><e>>;
>}

Output:

pi = 3.14, e = 2.718