Hi,
There is no option in AlphaUserPoints or in UserPoints to choose the round mode for the earn points.
For that part, the code in UserPoints plugin is the same than in the AlphaUserPoints one.
But you can edit the plugin "plugins/hikashop/userpoints/userpoints.php" and replace
return round($points, 0);
By:
if($this->plugin_params->rounddown)
return floor($points);
return round($points, 0);
And the file "plugins/hikashop/userpoints/userpoints_configuration.php", replacing
<td><?php
echo JHTML::_('hikaselect.booleanlist', "data[plugin][plugin_params][notgivewhenuse]" , '', @$this->element->plugin_params->notgivewhenuse);
?></td>
</tr>
By
<td><?php
echo JHTML::_('hikaselect.booleanlist', "data[plugin][plugin_params][notgivewhenuse]" , '', @$this->element->plugin_params->notgivewhenuse);
?></td>
</tr>
<tr>
<td class="key">
<label for="data[plugin][plugin_params][rounddown]"><?php
echo JText::_('POINTS_ROUND_DOWN');
?></label>
</td>
<td><?php
echo JHTML::_('hikaselect.booleanlist', "data[plugin][plugin_params][rounddown]" , '', @$this->element->plugin_params->rounddown);
?></td>
</tr>
It will add the new option for the rounding mode.
Regards,