Beispiel #1
0
        public static int getGlobalParameterInt(string parameter, string m_token, PowerMILL.PluginServices m_services)
        {
            string str = Gets.getGlobalParameterString(parameter, m_token, m_services);

            return(int.Parse(str.Trim()));
        }
Beispiel #2
0
        public static double getGlobalParameterDouble(string parameter, string m_token, PowerMILL.PluginServices m_services)
        {
            string str = Gets.getGlobalParameterString(parameter, m_token, m_services);

            return(getCultureInvariantDouble(str));
        }
Beispiel #3
0
        public static bool getGlobalParameterBool(string parameter, string m_token, PowerMILL.PluginServices m_services)
        {
            string str = Gets.getGlobalParameterString(parameter, m_token, m_services);

            return(str.Trim() == "1");
        }