Hi Paul,
Thanks for using Syncfusion product.
We have analyzed your query and prepared a sample with respect to your requirement. In this we have used ej.format method which will format the number with the specified precision. If the precision value is 2, then two digits will be shown after the decimal. Kindly find the code snippet below,
JS:
$.views.helpers({
parseDouble: function (amount) {
amount = parseInt(amount);
amount= ej.format(amount,"n2");
return amount;
}
});
|
Screenshot:
For your reference we have attached the sample. Kindly find the sample from below link,
Thanks,
Dharani.