Download 032 Manual - Digi-Key
Transcript
Library Functions
FTOA
Synopsis
#include <stdlib.h>
char * ftoa (float f, int * status)
Description
The function ftoa converts the contents of f into a string which is stored into a buffer which is then
return.
Example
#include <stdlib.h>
#include <stdio.h>
void
main (void)
{
char * buf;
float input = 12.34;
int status;
buf = ftoa(input, &status);
printf("The buffer holds %s\n", buf);
}
See Also
strtol(), itoa(), utoa(), ultoa()
Return Value
This routine returns a reference to the buffer into which the result is written.
206
Related documents
HI-TECH C for PIC10/12/16 User`s Guide
019P Manual - Digi-Key
VH-BS-002 Barcode scale user manual
Manual - IS MU
Manual - Digi-Key
Model PCL-724 24 Bit Digital I/O Card
AlphaFIX User`s Manual
MPLAB® Assembler, Linker and Utilities for PIC32 MCUs User's Guide
PDF Vol. II - Software Products Library
October 2007 - Hewlett Packard Enterprise Support Center
User Manual for OpenVMS Systems
HI-TECH C for PIC10/12/16 User's Guide