ahhhh found it :D i had troopnum as an int and it couldnt hold that big of a number cant believe i missed this thanks a lot :D
Type: Posts; User: derekxec
ahhhh found it :D i had troopnum as an int and it couldnt hold that big of a number cant believe i missed this thanks a lot :D
sorry about that this is the whole code for the program here
package testing;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
so here is my calculation and when total equals 397,683 the numbers start turning negative....why at that number and why at all? it works fine up to 397,682
long days, hours, minutes, seconds;...