float floatParameter(int index) throws ScriptException {
		if (index >= statementLength)
			badArgumentCount();
		float floatValue = 0;
		switch (statement[index].tok) {
		case Token.integer:
			floatValue = statement[index].intValue;
			break;
		case Token.decimal:
			floatValue = ((Float) statement[index].value).floatValue();
			break;
		default:
			numberExpected();
		}
		return floatValue;
	}