Thread: itoa/atof

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    417

    itoa/atof

    I want to be able to do what itoa does, but I need to convert from double to char.

    Is there a command for that that would still convert to a different base? I only need to be able to convert the double to a string, not both ways:

    _itoa( number, output, base );

    thats what I want, only I need it to be a double, not an integer.

    _ftoa( number, output, base );

    something like that, if it exists.

    Any ideas? Thanks so much!

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    417
    Couldn't you put a float in binary? And why not?

Popular pages Recent additions subscribe to a feed