c# Programming Glossary: friendlyint
Convert integers to written numbers http://stackoverflow.com/questions/3213/convert-integers-to-written-numbers leftDigits int thousands if n 0 return leftDigits string friendlyInt leftDigits if friendlyInt.Length 0 friendlyInt if n 10 friendlyInt.. n 0 return leftDigits string friendlyInt leftDigits if friendlyInt.Length 0 friendlyInt if n 10 friendlyInt ones n else if.. string friendlyInt leftDigits if friendlyInt.Length 0 friendlyInt if n 10 friendlyInt ones n else if n 20 friendlyInt teens..
|