12.1k views
3 votes
Is 416.60 an integer?

1 Answer

4 votes

Answer: No, it is not.

Explanation:

In order to solve this exercise it is important to remember the definition of "Integers".

Integers are defined as those numbers that do not have a fractional part. Integers contains:

1. The positive numbers (these are the numbers greater than zero):


\{1,2,3,4,5...\}

2. The negative numbers (these are the numbers less than zero):


\{-1,-2,-3,-4,-5...\}

3. The zero:


\{0\}

It is also necessary to remember the definition of "Decimal numbers".

Decimal numbers are those numbers that have a whole part, a fractional part and a point that separates these parts. That point is called "Decimal point".

Then, given the following number:


416.60

You can identify that it has a whole part and a fractional part separated by the Decimal point. Therefore, that number it is not an Integer.

User Instanceof
by
3.5k points