Answers for "how to get 2 decimal places in jquery"

3

jquery 2 decimal places

var total = 100.525444
var final_total = total.toFixed(2); // 100.52
Posted by: Guest on June-08-2020

Code answers related to "how to get 2 decimal places in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language