+ 1

how do you calculate it in java and get same answer?

so i have a calculation that just wont work can someone help me ? i am trying to make java calculate this 3.96%*(1-25.56%) and the answer should be 0.02947824 but when the calculation is made in java the output is -97.2576

11th Dec 2016, 5:09 AM
Brudge Kisekka
Brudge Kisekka - avatar
2 Respostas
+ 7
1*0.0396*(1-1*0.2556) gives right answer
11th Dec 2016, 11:29 AM
Алексей Р.
Алексей Р. - avatar
+ 3
how do you compute percent? what is your code ?
11th Dec 2016, 6:29 AM
Saeed
Saeed - avatar