CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    12

    Convert 1 to One

    Hi,

    is there a php function that will convert an integer to its number name in a string, ie

    1 = one
    2 = two
    3 = three

    etc

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Convert 1 to One

    No. But, you can create your own array of the number name and then just match it up.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured