** Automatic from Figure in words **

Discussion in 'PHP' started by admins, Jan 21, 2008.

  1. #1
    In PHP, is it included, if I write in Numeric Number and automatically I will get the number in words. If yes, How?
     
    admins, Jan 21, 2008 IP
  2. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If I am understanding you correctly, you should look into the PEAR Numbers_Words package.
     
    Gordaen, Jan 21, 2008 IP
    admins likes this.
  3. admins

    admins Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Actually, I told, I am giving example to understand.
    If I write '5550', then I will get: 'Five thousand Five hundred Fifty Dollar'.
    If I write '87788.50' then, 'Eighty seven thousand Seven hundred Eighty eight Dollar Fifty Cent'.

    Thanks Gordaen.

    One more, In SQL Server, figure are written with comma automatically, say 56000 is 56,000 but in MySQL 56000 is written. Even If I write 56,000, it shows error. Isn't it possible in MySQL?
     
    admins, Jan 22, 2008 IP