Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full Text Search score

Status
Not open for further replies.

sparc20

Programmer
Mar 13, 2002
56
GB
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>&nbsp;
<%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);%>%
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top