Floating-point values in E are written just like you might expect and are stored in LONG variables:
DEF x x:=3.75 x:=-0.0000367 x:=275.0
You must remember to use a decimal point (without any spaces around it) in the number if you want it to be considered a floating-point number, and this is why a trailing `.0' was used on the number in the last assignment. At present you can't express every floating-point value in this way; the compiler may complain that the value does not fit in 32-bits if you try to use more than about nine digits in a single number. You can, however, use the various floating-point maths functions to calculate any value you want (see 15.3 Floating-Point Functions).
Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.