• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why 94%,but not 95%

 
Alexis Li
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got SCWCD today with 56 correct answers out of
59.The percentage should be 94.9%..
I don't know why i got 94% instead of 95%.Does Sun truncate all the things after the decimal places without rounding up my mark?
By the way, the exam is very easy if you have
some background on JSP/servlet.I got many tag-lib
questions but all of them are very straight- forward.I even think that i would score 100% after the exam.
Regards,
Alexis
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good job Alexis
I don't know why i got 94% instead of 95%.Does Sun truncate all the things after the decimal places without rounding up my mark?
For your information, Sun computes the mark using the following formula:
nbPercent = Math.floor((double)100 / 59 * nbCorrect);
which in your case yields:
nbPercent = 94.0 %
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congrats, did a great job man!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic