The value for result could have simply been set to a float literal here.  I like that you are instead calculating it to show how where you are getting the value from, rather than testing against a seemingly arbitrary number.