Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27760
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: how to use unsinged long in java |
| Date | Fri, 14 Mar 2014 08:46:40 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 17 |
| Message-ID | <lfutni$h0m$1@dont-email.me> (permalink) |
| References | <69b21f21-4322-4915-b425-86dace6e5bd6@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 14 Mar 2014 12:46:42 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="17430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+daJL5SP8NaqLHnLM4JAD4" |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
| In-Reply-To | <69b21f21-4322-4915-b425-86dace6e5bd6@googlegroups.com> |
| Cancel-Lock | sha1:qDdaN+Qd/SUl7Q5ExSdHbPDk+ms= |
| Xref | csiph.com comp.lang.java.programmer:27760 |
Show key headers only | View raw
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