congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
NativeDecimalFormat.setMaximumFractionDigits
Code IndexAdd Tabnine to your IDE (free)

How to use
setMaximumFractionDigits
method
in
libcore.icu.NativeDecimalFormat

Best Java code snippets using libcore.icu.NativeDecimalFormat.setMaximumFractionDigits (Showing top 7 results out of 315)

origin: robovm/robovm

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
origin: MobiVM/robovm

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
origin: com.gluonhq/robovm-rt

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
origin: ibinti/bugvm

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
origin: FlexoVM/flexovm

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
origin: com.bugvm/bugvm-rt

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets the maximum number of digits after the decimal point.
 * If the value passed is negative then it is replaced by 0.
 * Regardless of this setting, no more than 340 digits will be used.
 *
 * @param value the maximum number of fraction digits.
 */
@Override
public void setMaximumFractionDigits(int value) {
  super.setMaximumFractionDigits(value);
  ndf.setMaximumFractionDigits(getMaximumFractionDigits());
  // Changing the maximum fraction digits needs to update ICU4C's rounding configuration.
  setRoundingMode(roundingMode);
}
libcore.icuNativeDecimalFormatsetMaximumFractionDigits

Popular methods of NativeDecimalFormat

  • <init>
  • applyLocalizedPattern
  • applyPattern
  • applyPatternImpl
  • clone
  • cloneImpl
  • close
  • equals
    Note: this doesn't check that the underlying native DecimalFormat objects' configured native Decimal
  • formatBigDecimal
  • formatBigInteger
  • formatDigitList
  • formatDouble
  • formatDigitList,
  • formatDouble,
  • formatLong,
  • formatToCharacterIterator,
  • getAttribute,
  • getGroupingSize,
  • getMaximumFractionDigits,
  • getMaximumIntegerDigits,
  • getMinimumFractionDigits,
  • getMinimumIntegerDigits

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JList (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now