Java BigDecimal TEN

Syntax

BigDecimal.TEN has the following syntax.

public static final BigDecimal TEN

Example

In the following code shows how to use BigDecimal.TEN field.


// w w  w.  ja  va  2 s .  c o m
import java.math.BigDecimal;

public class Main {

  public static void main(String[] args) {

    System.out.println(BigDecimal.TEN);
  }
}

The code above generates the following result.





















Home »
  Java Tutorial »
    java.math »




BigDecimal
BigInteger