Customize precision

The data-ej-precision attribute is used to specify how the Rating control can accept its value. The possible values are,

  1. Full Precision-accepts rounded value based on the selection.
  2. Exact Precision-accepts exact selected value.
  3. Half Precision-accepts exact half/rounded value based on the selection (0.5, 1, 1.5, 2, etc.).
  • html
  • <div id="rating_sample" data-role="ejmrating" data-ej-precision="exact">
    
    </div>

    The following screenshot displays the output.