Convert 1 to One
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Convert 1 to One

  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
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,886

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center