E1016 Syntax Errors

Syntax

number cannot end with a trailing decimal point; add a digit after the dot

When this occurs

Numbers like `123.`

Example error message

error[E1016]: invalid number format: decimal point must be followed by digits

How to fix

Add digits after the decimal point. Use `3.0` not `3.`.

Related errors