--- fivestar.module +++ fivestar.module @@ -1689,7 +1689,10 @@ return ceil(($value / 100) * $stars); } else { - return round(($value / 100) * $stars, 1); + if ($field->options['set_precision']) { + return round(($value / 100) * $stars, $field->options['precision']); + } + return ($value / 100) * $stars; } }