A number literal is a float if it contains ".", not if it is divisible by 1. For example, 1.0 should be considered a float literal.