Re: Numeric overflow

From: Amey Samant (ameyas7_at_yahoo.com)
Date: 12/22/03


Date: 22 Dec 2003 06:37:02 -0800

hi
Java has great support for this
i was writing an application that simulates RSA algorithm (of course
it was for educational purpose ;) not practical use ) .....
but i found a good support for real largeeeeeeeeeeeeeeee integers
check out java.math.BigInteger class
it should suffice your needs ...

cheers
amey

DiggidyMack69@hotmail.com (DiggidyMack69) wrote in message news:<c86ce4f.0312201836.60dc713a@posting.google.com>...
> Hello folks,
> I have a servlet in a Java web app that accesses an oracle table with
> a column that is NUMBER(12)
> When I put an integer into it of 10 digits or larger I get a numeric
> overflow error. I am using the getInt method and putting that into a
> java int variable. Do either of these have a max length and if so what
> should I be using for large number??
>
> thanks in advance,
> DM



Relevant Pages

  • Re: Which JVM to use under Windows?
    ... be coded to support 1.4, ... Home users have no reason to stay at an old version of Java. ... They just locked their horns with Microsoft and use ...
    (comp.lang.java.programmer)
  • Re: porting from C++Builder
    ... and I do believe that standard support of PME ... the java was growing and, obviously, microsoft initially tried to ...
    (microsoft.public.dotnet.languages.vc)
  • Re: C to Java Byte Code
    ... >So you don't support longs as that term is understood (in contemporary ... But char on Java is actually 2 bytes, ... >many C programs that share or access memory directly will fail. ... MPC speed compared to native C code speed. ...
    (comp.programming)
  • Re: Options for real-time plotting of server-side data?
    ... But without further support on ... I pretty much knew I needed some client side support and have no ... > XML-RPC support which you could use to pull data from the server. ... I've not much Java experience, even as a user, but from what I have ...
    (comp.infosystems.www.authoring.html)
  • Re: C to Java Byte Code
    ... >>If the product could translate a majority of C source files into Java ... So you don't support longs as that term is understood (in contemporary ... > modified to suit the one used by MPC. ... MPC storage requirements compared to C storage requirements. ...
    (comp.programming)