SW500007 Microchip Technology, SW500007 Datasheet - Page 291

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
Library Functions
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()
#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);
277

Related parts for SW500007