SW500010 Microchip Technology, SW500010 Datasheet - Page 318

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
STRTOD
Synopsis
Description
Parse the string s converting it to a double floating point type. This function converts the first
occurence of a substring of the input that is made up of characters of the expected form after skipping
leading white-space characters. If res is not NULL, it will be made to point to the first character
after the converted sub-string.
Example
See Also
atof()
318
#include <stdlib.h>
double strtok (const char * s, const char ** res)
#include <stdio.h>
#include <strlib.h>
void
main (void)
{
}
char buf[] = " 35.7
char * end;
double in1, in2;
in1 = strtod(buf, &end);
in2 = strtod(end, NULL);
printf("in comps: %f, %f\n", in1, in2);
23.27 ";
Library Functions

Related parts for SW500010