A
real data type is a
data type used in a
computer program to represent an approximation of a
real number. Because the real numbers are not
countable, computers cannot represent them exactly using a finite amount of information. Most often, a computer will use a
rational approximation to a real number.