Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

function convert from long to Srting??

Thread view: 
suma - 13 May 2006 17:25 GMT
hi
is found function convert from long to string??
plese if found tell me
jcsnippets.atspace.com - 13 May 2006 17:45 GMT
> hi
>  is found function convert from long to string??
> plese if found tell me

Have a look at the Java Docs, in particular the following page:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html

Look at the methods, find out which one takes a long as argument and returns
a String.

Best regards,

JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
Snyke - 13 May 2006 18:25 GMT
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Long.html#toString()
saj - 14 May 2006 06:56 GMT
use "static String toString(long num)" defined in the Long
class.........this method returns a string that contains the decimal
equivalent of num........
Bart Cremers - 14 May 2006 07:12 GMT
or to make it easier to remember: there exists a String.valueOf(...)
method for every possible argument you can have in Java. One method
fits them all :)

Bart


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.