public class

DynamicBuilders.DynamicFloat.FloatFormatter

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat.FloatFormatter

Overview

Allows formatting DynamicBuilders.DynamicFloat into a DynamicBuilders.DynamicString.

Summary

Methods
public intgetMaxFractionDigits()

Returns the maximum number of digits allowed in the fraction portion of a number.

public intgetMinFractionDigits()

Returns the minimum number of digits allowed in the fraction portion of a number.

public intgetMinIntegerDigits()

Returns the minimum number of digits allowed in the integer portion of a number.

public booleanisGroupingUsed()

Returns whether digit grouping is used or not.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public int getMinFractionDigits()

Returns the minimum number of digits allowed in the fraction portion of a number.

public int getMaxFractionDigits()

Returns the maximum number of digits allowed in the fraction portion of a number.

public int getMinIntegerDigits()

Returns the minimum number of digits allowed in the integer portion of a number.

public boolean isGroupingUsed()

Returns whether digit grouping is used or not.