Original Post
I am beginning to use Angelscript, so far, it has been running well. But I found a little trouble, that may be a bug (can't think anything else) I have this native C funcion: __cdecl float GetAFloat(void) {return(1.0);} and I bind it this way: RegisterGlobalFunction("float GetAFloat()", asFUNCTION(GetAFloat), asCALL_CDECL); The problem: When I use this funcion in the script, what I gest is just a -1.#IND , I figure it means it's an undefined value. I'm using AngelScript 2.7.0 Thanks in advance