does anyone knows if the search score is it out of something. for example 2.3223232323 (out of 4) ?
i thought it was 4 but i was mistaken as this returns wrong result
<strong>Search score:</strong>
<%float myFLO = Float.parseFloat(rs3.getString("score"));
float perc=100;
float MySQLSE=5;
myFLO = (myFLO*perc)/MySQLSE;
int mySINT = Math.round(myFLO);
out.print(mySINT);%>%
i thought it was 4 but i was mistaken as this returns wrong result
<strong>Search score:</strong>
<%float myFLO = Float.parseFloat(rs3.getString("score"));
float perc=100;
float MySQLSE=5;
myFLO = (myFLO*perc)/MySQLSE;
int mySINT = Math.round(myFLO);
out.print(mySINT);%>%