SW500011 Microchip Technology, SW500011 Datasheet - Page 268

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
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()
268
#include <stdlib.h>
double strtok (const char * s, const char ** res)
#include <stdio.h>
#include <strlib.h>
void
main (void)
{
}
char buf[] = " 35.7 23.27 ";
char * end;
double in1, in2;
in1 = strtod(buf, &end);
in2 = strtod(end, NULL);
printf("in comps: %f, %f\n", in1, in2);
Library Functions

Related parts for SW500011