Follow

Most languages:

true is a boolean
2 is an integer
2.0 is a double
2L is a long integer

:

TRUE is a logical
2 is a double
2.0 is a double
2L is an integer

For added fun, the last three are displayed the same way (2).

Wat.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.