Interface ParsedDecimal.FormatOptions

    • Method Detail

      • getDecimalSeparator

        char getDecimalSeparator()
        Get the decimal separator character.
        Returns:
        decimal separator character
      • getDigits

        char[] getDigits()
        Get an array containing the localized digit characters 0-9 in that order. This string must be non-null and have a length of 10.
        Returns:
        array containing the digit characters 0-9
      • getExponentSeparatorChars

        char[] getExponentSeparatorChars()
        Get the exponent separator as an array of characters.
        Returns:
        exponent separator as an array of characters
      • getGroupingSeparator

        char getGroupingSeparator()
        Get the character used to separate thousands groupings.
        Returns:
        character used to separate thousands groupings
      • getMinusSign

        char getMinusSign()
        Get the minus sign character.
        Returns:
        minus sign character
      • isAlwaysIncludeExponent

        boolean isAlwaysIncludeExponent()
        Return true if exponent values should always be included in formatted output, even if the value is zero.
        Returns:
        true if exponent values should always be included
      • isGroupThousands

        boolean isGroupThousands()
        Return true if thousands should be grouped.
        Returns:
        true if thousand should be grouped
      • isIncludeFractionPlaceholder

        boolean isIncludeFractionPlaceholder()
        Return true if fraction placeholders (e.g., ".0" in "1.0") should be included.
        Returns:
        true if fraction placeholders should be included
      • isSignedZero

        boolean isSignedZero()
        Return true if the string zero should be prefixed with the minus sign for negative zero values.
        Returns:
        true if the minus zero string should be allowed