Transform the number of the renminbi into uppercase representation (C # version)
There is nothing to say, it is a way, everyone takes it.
Using system;
Namespace Test.com {///
#Region Public Properties ///
#Region Public Method Public Void ConvertToChineseNum () {String Numlist = "Zero Zi Zi Lu"; String Rmblist = "Practitioner Picture"; Double Number = String TempoutString = NULL;
Try {Number = Double.Parse (this.inputString);} catch {this.noteMessage = "Parameters Non-numbers!"; return;} if (Number> 9999999999999999) this.noteMessage = "Benefits RMB value";
// The decimal integer string into string tempNumberString = Convert.ToInt64 (number * 100) .ToString (); int tempNmberLength = tempNumberString.Length; int i = 0; while (i
While (TempoutString.endswith) {TEMPOUTSTRING = TempoutString.Substring (0, TempoutString.Length-1);}
While (TempoutString.endSwith)) {TEMPOUTSTRING = TempoutString "whole";
THIS.outstring = TempoutString;
} #Endregion}}}