Re: Numeric overflow
From: Amey Samant (ameyas7_at_yahoo.com)
Date: 12/22/03
- Next message: Herman Timmermans: "Re: Web services - newbie"
- Previous message: Sam: "Web services - newbie"
- In reply to: DiggidyMack69: "Numeric overflow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Herman Timmermans: "Re: Web services - newbie"
- Previous message: Sam: "Web services - newbie"
- In reply to: DiggidyMack69: "Numeric overflow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|