I want to achieve some thing like this
<ul>
<li class="row 4of5">
Product Name: ABC
Rating: 4 of 5
</li>
<li class="row 3of5">
Product Name: PQR
Rating: 3 of 5
</li>
<li class="row 3-5of5">
Product Name: XYZ
Rating: 3.5 of 5
</li>
</ul>
How can I use value of Rating field as a class name for LI tag?