I am using IDE
--- Update ---
yay! it works! good to know that issue can happen. was driving me NUTS!!!
I was like this should work wth!
Type: Posts; User: nepperso
I am using IDE
--- Update ---
yay! it works! good to know that issue can happen. was driving me NUTS!!!
I was like this should work wth!
public static void main(String [] args)
{
int a = 32;
int b = 10;
double c = (a/(double)b);
//The issue is the order of operations somehow, it is...
I did not try that particular way, I tried c = a / ((double)/b);
Let me try that...
Nope! wtf??? why is it not working??
when dealing with decimals that data types that I can think that would work would be double, float, and maybe long but this division isn't really a long string.
I tried re-writing as float and also...
I'm currently taking a class in learning java.
Anyways, I am doing a code that was provided and has an error.
We are suppose to review and figure out why it's giving the error and how to fix...