Thanks for the replies.
Ok, first an explaination. The earth rotates on its axis once every 24 hours, a day. But the thing is, its not 24 hours, its 23 hours and 56 minutes, to be more precise. Those four minutes that get rounded out each day add up and thats why we have a leap year (an extra day in February) every four years to acoount for those four minutes a day that are rounded out.
So, you ask?
If I want to find the number of minutes in a week, I need to times:
number of minutes in an hour * number of hours in a day * number of days in a week.
Now if I use 24 hours, it would be 60247 = 10080 minutes.
But there isn't 10080 minutes in a week, there is 10052, 28 minutes less than above.
So what I need to do, in interactive mode, is perform a calculation that has the fraction for 23 hours and 56 minutes in in, like (23/56/60).
So my calculation for minutes in a week would be something like:
What I am asking is how do I express that fraction in interactive mode?
Hope that helps.
Edited 4 Years Ago by Bluescreendeath: changed text to code to make explaination simpler
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.