22.11.2011, 18:09
That's a warning, not an error. That would be because the function is being declared after it is being used, simply move the function declaration above where it is being used, alternatively add "stock" before "Float" in your function declaration.