PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 308

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
strtod( ) strtof( ) strtof48( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
294
result=strtod(nptr,& endptr)
result=strtof(nptr,& endptr)
result=strtof48(nptr,& endptr)
nptr and endptr are strings
strtod returns a double precision floating point number.
strtof returns a single precision floating point number.
strtof48 returns a extended precision floating point number.
returns the converted value in result, if any. If no conversion could be performed,
zero is returned.
The strtod function converts the initial portion of the string pointed to by nptr to a
float representation. The part of the string after conversion is stored in the object
pointed to endptr, provided that endptr is not a null pointer. If nptr is empty or does
not have the expected form, no conversion is performed and the value of nptr is
stored in the object pointed to by endptr, provided endptr is not a null pointer.
All devices.
#INCLUDE <stdlib.h>
double result;
char str[12]="123.45hello";
char *ptr;
result=strtod(str,&ptr);
//result is 123.45 and ptr is "hello"
None
strtol(),
strtoul()

Related parts for PCWHD IDE COMPILER