Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PercentFormatter Class

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

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


[Visual Basic]
Public Class PercentFormatter
    Implements IFormatter
public class PercentFormatter : 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.


PercentFormatter uses percent-related properties of the NumberFormatInfo to format and parse percentages.

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

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


Namespace: Spring.Globalization.Formatters

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

See Also

PercentFormatter Members | Spring.Globalization.Formatters Namespace