Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialkolade adekoya
Courses Plus Student 1,153 Pointserror running code
this keeps giving an error when i check the code, even in x code errror; "Use of undeclared type 'double'" PLEASE HELP
// Enter your code below
func temperatureInFahrenheit (temperature: double) -> double {
}
1 Answer
kolade adekoya
Courses Plus Student 1,153 Pointsi figured it out after so much frustration. the type i declared was "double instead of "Double" now i truly believe swift is case sensitive
kjvswift93
13,515 Pointskjvswift93
13,515 PointsThere you go
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsModerator Note:
Marked the answers as "Best Answer" to close the thread and give credit to troubleshooting and solving your problem, plus sharing the explanation to the solution with others.
Nice work!! :)