Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errr..



From the java.lang API...

toString

public static String toString(long i)

Returns a String object representing the specified long. The argument is converted to signed decimal representation and returned as a string, exactly as if the argument and the radix 10 were given as arguments to the toString(long, int) method.

    Parameters:
        i - a long to be converted.
    Returns:
        a string representation of the argument in base 10.

from my current miserable little program....

[javac] Compiling 2 source files to /Users/bobirvin/Sites/ SupplierConnect/build/supplierconnect-ejb
[javac] /Users/bobirvin/Sites/SupplierConnect/src/ejb/com/ kenisys/supplierconnect/handler/PunchoutOrderMessageHandler.java:81: toString() in java.lang.Object cannot be applied to (long)
[javac] String long_string = toString(order_ID);


		Discuss!

		Bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Re: Java Swing and Quartz (From: Brian Foster <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.