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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.