Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Number

Number

A number is a value of a numerical type.

Related concepts:  ValueType

Closest Wikipedia entry:  Number

Misconceptions about Number
15 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
CharNotNumeric
Char is not a numeric type
Misconception
IntegerDivisionToRational
Dividing two integers can produce a rational number
Misconception
LargeIntegerLong
Large integer numbers have type long
Misconception
NoCastIfSameSize
If a variable is at least as big (bit-width) as a value, then no cast is needed to a assign the value to the variable
Misconception
NoFloatLiterals
There are no float literals
Misconception
NoLongLiterals
There are no long literals
Misconception
NumericToBooleanCoercion
Numeric types can be coerced to boolean
Misconception
RationalLiterals
Rational fractions are literals
Misconception
ReferenceToIntegerConversion
One can cast between references and ints
Misconception
StringRepetitionOperator
The multiplication operator can repeat a String a number of times
Misconception
TargetTyping
The type of a numerical expression depends on the type expected by the surrounding context
Misconception
ZeroDigitsCompress
In integer numbers, decimal digits with value `0` take less storage than decimal digits with other values

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors