Skip to content

Commit

Permalink
fixed the decimal with step 9
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensotelo committed Feb 22, 2016
1 parent 754bba3 commit 6efe006
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ else if(p.getTypePolicy()==TypePolicy.QUALITY_REGISTER)
quality_fields_count=0;
for(int k=0;k<quality_fields.length;k++)
quality_fields_count+=entity.get(quality_fields[k])==null ? 0 : 1;
query.add("quality_row", String.valueOf(quality_fields_count/quality_fields.length));
query.add("quality_row", String.valueOf((double)quality_fields_count/((double)quality_fields.length)));
}
}
catch(NullPointerException e)
Expand Down

0 comments on commit 6efe006

Please sign in to comment.