Regular API function

simGetStackFloatValue

Description Tries to retrieve the value at the top of the stack, if that value is a number. See also the other stack functions.
C/C++
synopsis
simInt simGetStackFloatValue(simInt stackHandle,simFloat* numberValue)
C/C++
parameters
stackHandle: a stack handle obtained with simCreateStack.
numberValue: a pointer to a location receiving the float value.
C/C++
return value
-1 in case of an error, 0 if the value is not a number, 1 otherwise.
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis