Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SOM Reference

fractionDigits Property

Returns a variant of type VT_BSTR. This variant indicates the maximum number of digits in the fractional part of a value. For more information about the fractionDigits facet, see Data Type Facets.

[Script]

Implementation Syntax

var varFractionDigits = oISchemaType.fractionDigits;

Parameters

None.

Return Values

varFractionDigits
A variant. The fractionDigits facet of the restriction.
[Visual Basic]

Implementation Syntax

varFractionDigits = oISchemaType.fractionDigits

Parameters

None.

Return Values

varFractionDigits
A variant. The fractionDigits facet of the restriction.
[C/C++]

Implementation Syntax

HRESULT get_fractionDigits (VARIANT* fractionDigits);

Parameters

fractionDigits [out,retval]
A variant. The fractionDigits facet value.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the fractionDigits parameter is NULL.
E_FAIL
The value returned if something else is wrong.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

Note   If the facet is not used, the property will return "-1".

See Also

Data Type Facets | Parts of Data Types

Applies to: ISchemaType Interface