Welcome to the Treehouse Community
Looking to learn something new?
Math object Code Challenge - My code is fine but wont pass
All I've done is add: var circumference = diameter * Math.PI(); It's claiming I haven't even defined the variable which I obviously have. What the heck am I doing wrong I've been stuck on this simple problem for an hour. Starting to feel zaaaaany
Nevermind fixed it. Math.PI is a property not a method so no (). I received an inappropriate error message though which confused me terribly. Might want to change that.