Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CurrencyFormatter Class

Implementation of IFormatter that can be used to format and parse currency values.

For a list of all members of this type, see CurrencyFormatter Members .


[Visual Basic]
Public Class CurrencyFormatter
    Implements IFormatter
public class CurrencyFormatter : IFormatter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


CurrencyFormatter uses currency related properties of the NumberFormatInfo to format and parse currency values.

If you use one of the constructors that accept culture as a parameter to create an instance of CurrencyFormatter, default NumberFormatInfo for the specified culture will be used.

You can also use properties exposed by the CurrencyFormatter in order to override some of the default currency formatting parameters.


Namespace: Spring.Globalization.Formatters

Assembly: Spring.Core (in Spring.Core.dll)

See Also

CurrencyFormatter Members | Spring.Globalization.Formatters Namespace