what type of number is decimal and integer
A decimal number is a floating-point value that consists of a sign, a numeric value where each digit in the value ranges from 0 to 9, and a scaling factor that indicates the position of a floating decimal point that separates the integral and fractional parts of the numeric value.
Integers are like whole numbers, but they also include negative numbers ... but still no fractions allowed! So, integers can be negative {-1, -2,-3, -4, -5, ... }, positive {1, 2, 3, 4, 5, ... }, or zero {0}. We can put that all together like this: Integers = { ..., -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, ...