Forums
Learn
Careers
Store
About
SUBSCRIBE
NEW: Learn SwiftData for free with my all-new book! >>
Question 1/6: Which of these lines create Doubles?
Hint: Doubles are any value that contain decimal data, or with the explicit typecast Double. Click to show.
Double
Option 1:
var average = 32.0
This creates a double called average.
average
Option 2:
let size = "14.0"
This creates a string.
Correct!
Oops – that's not correct.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.