示例#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()));
        }
示例#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));
        }
示例#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");
        }