LPS-48697

Simplify computation of digit values in mixed radix in order to add pagination support to shopping portlet.