Example #1
0
        public static string DecimalToText(decimal value)
        {
            NumberFormatInfo format = FormatInfoLogic.Number;

            format = (NumberFormatInfo)format.Clone();
            format.NumberDecimalDigits = 28;
            return(RuntimePlatformUtils.RemoveTrailingZeros(value.ToString("N", format), format));
        }