Long Class
Contains methods for the Long primitive data type.
For more information on Long, see Long Data Type.
The following are methods for Long.
-
Returns the String format for this Long using the locale of the context user.
-
Returns the Integer value for this Long.
-
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)
-
stringToLong:
Type: String
Type: Long