Thread: conversion of number to string

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    1

    conversion of number to string

    does anyone know if there is a code which converts multiple numbers to a word? (e.g. user inputs 1501, program outputs one thousand five hundred one)

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    You should be able to write it yourself.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,895
    I posted a complete program that does exactly this. It's in C, but the principle is the same. Have fun.

    http://cboard.cprogramming.com/showt...hlight=million
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  2. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  3. Compile Error that i dont understand
    By bobthebullet990 in forum C++ Programming
    Replies: 5
    Last Post: 05-05-2006, 09:19 AM
  4. Replies: 4
    Last Post: 03-03-2006, 02:11 AM
  5. Program using classes - keeps crashing
    By webren in forum C++ Programming
    Replies: 4
    Last Post: 09-16-2005, 03:58 PM