org.apache.tapestry5.internal.translator

## Interface NumericFormatter

- All Known Implementing Classes:
    BigDecimalNumericFormatter, BigIntegerNumericFormatter, BigTypesFormatter, NumericFormatterImpl

      public interface NumericFormatter

  Interface for defining the basic parse and toClient operations. The typical implementation is based on `NumberFormat` but alternate implementations are used for BigInteger and BigDecimal.
  Since:
    5.1.0.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Number` | `parse(String clientValue)` Parses a value from the client in a locale-specific way.
    `String` | `toClient(Number value)` Formats a value for the client in a locale-specific way.

- - ### Method Detail

    - #### parse

          Number parse(String clientValue)
                throws ParseException

      Parses a value from the client in a locale-specific way.
      Throws:
        `ParseException`

    - #### toClient

          String toClient(Number value)

      Formats a value for the client in a locale-specific way.

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.