Replies To: decimal to words in c# windows form

Re: decimal to words in c# windows form

Posted 14 August 2008 - 05:45 AM

you should check to make sure that the number of elements in the array is more than 1. what if the number does not contain a decimal? then it won't be split, and the array will only contain 1 element(index of 0). then when you say "no[1]", that value is null.