LuaScript Xojo Plugin |

# LuaScriptContext.GetDouble Method

Fetches a double value from the stack

GetDouble(
index as Integer,
popStack as Boolean) as Double

#### Parameters

index
  The index of the element in the stack to fetch from. -1 is the element at top of the stack, the last element pushed onto the stack.
popStack
  True if you want the value to be popped off the stack, false if you want it to remain there.

#### Returns

Double
  The requested value as Double

#### Remarks

#### See Also

LuaScriptContext Class