Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27760
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: how to use unsinged long in java |
| Date | 2014-03-14 08:46 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <lfutni$h0m$1@dont-email.me> (permalink) |
| References | <69b21f21-4322-4915-b425-86dace6e5bd6@googlegroups.com> |
On 3/14/2014 2:53 AM, Navneet Mathpal wrote:
> hi
> I wnat to store 20141231246023 but long is out of range in it.
No, the value is well within the range of `long'. The problem
is that it's *not* within the range of `int', so you cannot write
the value as an `int' constant. Use 20141231246023L to write a
`long' constant.
> how to save value in this range.
> is there any unSigned long available??
No.
--
Eric Sosman
esosman@comcast-dot-net.invalid
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to use unsinged long in java Navneet Mathpal <navneetmathpal93@gmail.com> - 2014-03-13 23:53 -0700
Re: how to use unsinged long in java Lew <lewbloch@gmail.com> - 2014-03-14 00:31 -0700
Re: how to use unsinged long in java Joerg Meier <joergmmeier@arcor.de> - 2014-03-14 11:40 +0100
Re: how to use unsinged long in java markspace <markspace@nospam.nospam> - 2014-03-14 09:40 -0700
Re: how to use unsinged long in java Arivald <arivald_@AT_interia_DOT_.pl> - 2014-03-17 10:19 +0100
Re: how to use unsinged long in java Lew <lewbloch@gmail.com> - 2014-03-22 15:30 -0700
Re: how to use unsinged long in java Roedy Green <see_website@mindprod.com.invalid> - 2014-04-09 18:06 -0700
Re: how to use unsinged long in java v_borchert@despammed.com (Volker Borchert) - 2014-03-14 10:24 +0000
Re: how to use unsinged long in java Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-14 08:46 -0400
Re: how to use unsinged long in java Roedy Green <see_website@mindprod.com.invalid> - 2014-03-14 08:42 -0700
Re: how to use unsinged long in java Marcel Müller <news.5.maazl@spamgourmet.org> - 2014-03-14 19:53 +0100
csiph-web