Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

toString convert to long


long l = 0x11L;
String str = Long.toString(l);
System.out.println(str); //prints '17'
l = 011L;
str = Long.toString(l);
System.out.println(str); //prints '9'
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #toString #convert #long
ADD COMMENT
Topic
Name
8+8 =