16.3k views
2 votes
Which of the following are valid values for the float data type? (select all that apply)

17
.1
'1'
-70.5
-103
true
9
3.14159

1 Answer

1 vote

Answer:

.1, -70.5, 3.14159(265358979323846) (why stop there)

Step-by-step explanation:

Floating point values include a decimal place, not to be confused with reals which are whole numbers.

User Keron
by
4.1k points