Skip to content

Latest commit

 

History

History
155 lines (86 loc) · 3.11 KB

ns-oleauto-numparse.md

File metadata and controls

155 lines (86 loc) · 3.11 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:oleauto.NUMPARSE
NUMPARSE (oleauto.h)
Specifies numeric parsing information.
NUMPARSE
NUMPARSE structure [Automation]
NUMPRS_CURRENCY
NUMPRS_DECIMAL
NUMPRS_EXPONENT
NUMPRS_HEX_OCT
NUMPRS_INEXACT
NUMPRS_LEADING_MINUS
NUMPRS_LEADING_PLUS
NUMPRS_LEADING_WHITE
NUMPRS_NEG
NUMPRS_PARENS
NUMPRS_STD
NUMPRS_THOUSANDS
NUMPRS_TRAILING_MINUS
NUMPRS_TRAILING_PLUS
NUMPRS_TRAILING_WHITE
NUMPRS_USE_ALL
_oa96_NUMPARSE
automat.numparse
oleauto/NUMPARSE
automat\numparse.htm
automat
d55034ff-4407-40ba-bee3-8e82cd5c497e
12/05/2018
NUMPARSE, NUMPARSE structure [Automation], NUMPRS_CURRENCY, NUMPRS_DECIMAL, NUMPRS_EXPONENT, NUMPRS_HEX_OCT, NUMPRS_INEXACT, NUMPRS_LEADING_MINUS, NUMPRS_LEADING_PLUS, NUMPRS_LEADING_WHITE, NUMPRS_NEG, NUMPRS_PARENS, NUMPRS_STD, NUMPRS_THOUSANDS, NUMPRS_TRAILING_MINUS, NUMPRS_TRAILING_PLUS, NUMPRS_TRAILING_WHITE, NUMPRS_USE_ALL, _oa96_NUMPARSE, automat.numparse, oleauto/NUMPARSE
oleauto.h
Windows
Windows
NUMPARSE
19H1
NUMPARSE
oleauto/NUMPARSE
c++
APIRef
kbSyntax
HeaderDef
OleAuto.h
NUMPARSE

NUMPARSE structure

-description

Specifies numeric parsing information.

-struct-fields

-field cDig

On input, the size of the array. On output, the number of items written to the rgbDig array.

-field dwInFlags

Input flags.

NUMPRS_CURRENCY (0x0400)

NUMPRS_DECIMAL (0x0100)

NUMPRS_EXPONENT (0x0800)

NUMPRS_HEX_OCT (0x0040)

NUMPRS_LEADING_MINUS (0x0100)

NUMPRS_LEADING_PLUS (0x0004)

NUMPRS_LEADING_WHITE (0x0001)

NUMPRS_PARENS (0x0080)

NUMPRS_STD (0x1FFF)

NUMPRS_THOUSANDS (0x0200)

NUMPRS_TRAILING_MINUS (0x0020)

NUMPRS_TRAILING_PLUS (0x0008)

NUMPRS_TRAILING_WHITE (0x0002)

NUMPRS_USE_ALL (0x1000)

-field dwOutFlags

Output flags. Includes all the values for dwInFlags, plus the following values.

NUMPRS_INEXACT (0x20000)

NUMPRS_NEG (0x10000)

-field cchUsed

Receives the number of characters (from the beginning of the string) that were successfully parsed.

-field nBaseShift

The number of bits per digit (3 or 4 for octal and hexadecimal numbers, and zero for decimal).

-field nPwr10

The decimal point position.

-remarks

The following apply only to decimal numbers:

  • nPwr10 sets the decimal point position by giving the power of 10 of the least significant digit.
  • If the number is negative, NUMPRS_NEG will be set in dwOutFlags.
  • If there are more non-zero decimal digits than will fit into the digit array, the NUMPRS_INEXACT flag will be set.