Java Data Type Tutorial - 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.

//  ww w. j  a  v a2  s. com
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.