This was part of a questionnaire.

I have no idea what they are asking... my closest guess is

float rational

please help! thank you.

float rational would be of type float

rational myRationalNumber would be type rational

In mathematics, a rational number is any number that can be expressed as the quotient a/b of two integers, with the denominator b not equal to zero. Since b may be equal to 1, every integer is a rational number. The set of all rational numbers is usually denoted by a boldface Q (or blackboard bold , Unicode U+211a ℚ), which stands for quotient.

-- this wiki article

In C/C++ languages all int, float, and doubles hold rational numbers as long as they contain a finite number of digits.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.