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

zhaozj2021-02-16  51

Transforming the number of the renminbi into uppercase representation (C # version) really doesn't have any good, it is a way, everyone takes usding system; namespace test.com {///

/// function: string Processing function set /// public class dealstring {#Region Private member /// /// input string /// private string infutstring = null; /// / // Output string /// private string outstring = null; /// /// Tip information /// private string NoteMessage = NULL; #ENDREGION #REGON public property //// / /// Enter string /// public string infutstring {get {return infutstring;} set {infutstring = value;}} /// /// output string //// public string outstring {get {return outstring;} set {outstring = value;}} /// /// prompt information /// public string NoteMessage {rary noteMessage;} Set {NoteMessage = Value;}} #endregion #Region constructor PUBLIC DEALSTRING () {// //} Add Constructor Logic //} #ENDREGON #Region Public Method Public Void ConvertToChineseNum () {String Numlist = "Zero Zhai Ziwu Lu Yu"; String Rmblis T = "Practitioner Picture" 佰 万 万 佰 佰;; Double Number = 0; String TempoutString = NULL; TRY {Number = Double.Parse (this.inputString);} catch {this.noteMessage = "Incoming parameters are 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-22182.html

New Post(0)