I have the following code to calculate a certain percentage:
var x = 6.5; var total; total = x/15*100;
As a result, I want to get the exact number 43 , and if the sum is 43.5 , it should be rounded to 44
Is there any way to do this in JavaScript?
javascript operators rounding
idontknowhow Aug 6 2018-11-11T00: 00Z
source share