• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-26
  • 语言: C#
  • 标签: 小写  金额  转换  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.Regularexpressions;
using System.Threading.Tasks;

namespace ConsoleApplication4
{
    class Program
    {
        static void Main(string[] args)
        {
            string rmbStr = “伍佰贰拾伍元整“;
            //大写金额转换
            decimal money = ToLowerCase(rmbStr);

            Console.WriteLine(money);
            Console.ReadKey();
        }
        /// 
        /// 
        /// 

        /// 
        /// 
        private static decimal ToLowerCaseFunction(string value)
        {
            List list = new List();
            if (value.Contains(“仟“))
            {
                var arr1 = Regex.Split(value @“仟“ RegexOptions.IgnoreCase);
                if (arr1 != null && arr1.Length > 0)
                {
                    list.Add(arr1

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     24576  2019-08-16 18:19  ConsoleApplication4\.vs\ConsoleApplication4\v14\.suo

     文件        189  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\App.config

     文件       8192  2019-08-14 18:52  ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.exe

     文件        189  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.exe.config

     文件      15872  2019-08-14 18:52  ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.pdb

     文件      22696  2019-08-16 18:15  ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.vshost.exe

     文件        189  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.vshost.exe.config

     文件        490  2015-10-22 09:54  ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.vshost.exe.manifest

     文件       2698  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\ConsoleApplication4.csproj

     文件        808  2019-08-16 18:15  ConsoleApplication4\ConsoleApplication4\obj\Debug\ConsoleApplication4.csproj.FileListAbsolute.txt

     文件       1922  2019-08-14 18:52  ConsoleApplication4\ConsoleApplication4\obj\Debug\ConsoleApplication4.csprojResolveAssemblyReference.cache

     文件       8192  2019-08-14 18:52  ConsoleApplication4\ConsoleApplication4\obj\Debug\ConsoleApplication4.exe

     文件      15872  2019-08-14 18:52  ConsoleApplication4\ConsoleApplication4\obj\Debug\ConsoleApplication4.pdb

     文件       6906  2019-08-16 18:15  ConsoleApplication4\ConsoleApplication4\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       8188  2019-08-14 18:52  ConsoleApplication4\ConsoleApplication4\Program.cs

     文件       1364  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4\Properties\AssemblyInfo.cs

     文件       1024  2019-08-14 18:49  ConsoleApplication4\ConsoleApplication4.sln

     文件        189  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\App.config

     文件        384  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\App.xaml

     文件        342  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\App.xaml.cs

     文件        517  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\MainWindow.xaml

     文件        661  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\MainWindow.xaml.cs

     文件       2357  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\obj\Debug\App.g.i.cs

     文件       7456  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3056  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\obj\Debug\MainWindow.g.i.cs

     文件          0  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2019-08-16 18:16  ConsoleApplication4\WpfApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

............此处省略30个文件信息

评论

共有 条评论