Transform the number of the renminbi into uppercase representation (C # version)

zhaozj2021-02-16  61

Transform the number of the renminbi into uppercase representation (C # version) chenyu001 [Collection] Keyword .NET Source Conversion to uppercase representation (C # version) There is nothing to talk about, is a method, everyone takes it Bar using system; namespace test.com {///

/// Function: String Processing Function Set /// public class dealstring {#Region private member /// /// input String /// private string infutstring = null; /// /// Output string /// prince string outstring = null; /// /// Tip Information /// private string noteMessage = null; #endregion #region Public property /// /// input string /// public string infutstring {get {return infutstring;} set {INPUTSTRING = value;}} /// /// Output string /// public string outstring {get {return outstring;} set {outstring = value;}} /// /// Tip information /// public string NoteMessage {get {return NoteMessage;} set {NoteMessage = value;}} #endregion #region constructor PUBLIC DEALSTRING () {/// Todo: here Add constructor logic //} #endregion #region public method PUBL Ic void converttochineseenum () {string numlist = "Zero Zibo"; string rmblist = "Practitioner" is 佰 万 万 佰 仟 万 万; "; double number = 0; string TempoutString = null; try {number = double.parse (this.inputstring);} catch {this.noteMessage = "Incoming parameter is not numbers! ";}}}}} (Number> 9999999999999.99) this.noteMessage =" Benefits of RMB value "; // Transform the decimal to integer string String TempNumBerstring = convert.TOINT64 (Number * 100) .tostring (); int TemPnmberlength = TempnumBerstring.Length; INT i = 0; While (I
转载请注明原文地址:https://www.9cbs.com/read-18506.html

New Post(0)