CustomNumberFormatClass

An object for formatting numbers in a user-defined format.

Description

CustomNumberFormatis an ICustomNumberFormatinterface coclass whose members determine how the ValueToString method in the associated INumberFormatinterface formats numbers. Define your own customized format using the FormatString property.

The custom-number-format object and its default interface allow numeric values to be formatted as strings. It works by pattern matching and allows conversions, such as changing ValueToString(12345678.9) to �12,345,678.90 dollars�.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IClone Provides access to members that control cloning of objects.
ICustomNumberFormat Provides access to members that format numbers in a customizable way.
INumberFormat Provides access to members that format numbers.
INumberFormatOperations Provides access to common operations on formatted numbers.
IPersist
IPersistStream

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close