Convert the given number to add

Dear Friends,
             Please any one tell answer for this questions.

              convert the given number to add.
              for example.

        1111 -> one thousand one hundred and eleven
  345 -> three hundred and forty five

With Deep regards,
S.Vellingiri.

···

--
Posted via http://www.ruby-forum.com/.

Vellingiri Arul wrote:

Dear Friends,
             Please any one tell answer for this questions.

              convert the given number to word.
              for example.

        1111 -> one thousand one hundred and eleven
  345 -> three hundred and forty five

With Deep regards,
S.Vellingiri.

I have findout the answer for this question.
  1.convert the given number t word.
Here is a an Example,
   Please I ahve attached the file you see that file.

by
Vellingiri

Attachments:
http://www.ruby-forum.com/attachment/354/convert.rb

···

--
Posted via http://www.ruby-forum.com/\.