Long Class

Contains methods for the Long primitive data type.

System

For more information on Long, see Long Data Type.

The following are methods for Long.

  • format()

    Returns the String format for this Long using the locale of the context user.

  • intValue()

    Returns the Integer value for this Long.

  • valueOf(stringToLong)

    Returns a Long that contains the value of the specified String. As in Java, the string is interpreted as representing a signed decimal Long.

Returns the String format for this Long using the locale of the context user.

public String format()

Type: String

Returns the Integer value for this Long.

public Integer intValue()

Type: Integer

Returns a Long that contains the value of the specified String. As in Java, the string is interpreted as representing a signed decimal Long.

public static Long valueOf(String stringToLong)

Type: Long