Original values:
3.5 seconds is a(n) string
79.2 is a(n) double
12 is a(n) integer
Converting to other data types:
3.5 seconds as a double is 3.5
3.5 as an integer is 3
Converting back to a string results in 3
Before casting: 98.6 degrees is a string
Using type casting instead:
as a double: 98.6
as an integer: 98
After casting: 98.6 degrees is a string