Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

toString convert to long


long l = 12345L;
//deprecated from Java 9, use valueOf for better performance
String str = new Long(l).toString(); // str is '12345'
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #toString #convert #long
ADD COMMENT
Topic
Name
3+3 =