🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #330

Help Needed please

#330
From: Livio Colbertaldo
Date: Sat, 21 Oct 2000 00:00
19 lines
1035 bytes
i have this peice of code when i adjust the values n1 and e1 to bigger
values all i get on the result is 0
can neone please tell me what im doin wrong and how to fix it
thank you
public String ab1() {
 double n1,e1,s7;
 int s2;
 Integer ab3;
 String s5=new String();
n1=1000;
e1=1000;
s2=97;

 s7=Math.pow(s2,e1)%n1;
 ab3=new Integer(new Double(s7).intValue());
 s5=ab3.toString();
 return s5;;

}
Technical Details
Message-ID: <Ew7I5.2495$SF5.58944@ozemail.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,9f36909a69e4ec54,start
X-Google-Attributes: gid10d6db,public
From: "Livio Colbertaldo" <libo@ozemail.com.au>
Subject: Help Needed please
Date: 2000/10/21
Message-ID: <Ew7I5.2495$SF5.58944@ozemail.com.au>
X-Deja-AN: 684025904
Distribution: world
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Trace: ozemail.com.au 972096676 63.34.212.79 (Sat, 21 Oct 2000 13:51:16 EST)
Organization: OzEmail Ltd, Australia
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sat, 21 Oct 2000 13:51:16 EST
Newsgroups: aus.computers.java