Exemplo n.º 1
0
        public static int MdsDoubleToString(out string formattedNumber, double number)
        {
            StringBuilder sb         = new StringBuilder(1000);
            int           returnCode = 0;

            if (Environment.Is64BitProcess)
            {
                returnCode      = OlapNativeImports64.MdsDoubleToString(sb, number);
                formattedNumber = sb.ToString();
            }
            else
            {
                returnCode      = OlapNativeImports32.MdsDoubleToString(sb, number);
                formattedNumber = sb.ToString();
            }
            return(returnCode);
        }