Function : Item (Field)

NSFItemGetNumber - Get the value of TYPE_NUMBER Item.
----------------------------------------------------------------------------------------------------------

#include <nsfnote.h>

BOOL LNPUBLIC NSFItemGetNumber(
NOTEHANDLE hNote,
const char far *ItemName,
NUMBER far *retNumber);

Description :

This function takes a handle to an open note and the name for the Item whose value you wish to get. It returns the Item's value in a FLOAT variable.

Parameters :

Sample Usage :

/* Print FLOAT ITEM */

double num;
if (NSFItemGetNumber (note1_handle, FLOAT_ITEM, &num))
 printf("%s: %le\n", FLOAT_ITEM, num);


See Also :

NSFItemGetLong
----------------------------------------------------------------------------------------------------------