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

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
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 PCDIDE COMPILER