Tuesday 8 January 2019

Round off decimal values in jquery using toFixed funtion.

Round off decimal values in jquery : 


Before Output : 10

  var total = 10;
  var total = total.toFixed(2);

After useing function :  10.00 

No comments:

Post a Comment