Hi,

Getting a numeric cell returns a double primitive value.
My question was, is there a way to return an integer value if that is what is 
in the spreadsheet? And return a double value only if it's a double value in 
the first place?

Eg, having 1234 in a cell on the spreadsheet returns 1234.0 with 
getNumericValue(), I just want 1234 returned. The spreadsheet contains random 
integers and doubles and I want what is stored to be returned without having to 
do a specific type conversion. Any suggesstions?

Regards and thanks in advance.


This communication, including any attachments, may contain information that is 
proprietary, privileged, confidential or legally exempt from disclosure. If you 
are not a named addressee, you are hereby notified that you are not authorized 
to read, print, retain a copy of or disseminate any portion of this 
communication without the consent of the sender and that doing so may be 
unlawful. If you have received this communication in error, please immediately 
notify the sender via return e-mail and delete it from your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to