how to calculate distance using longitude and latitude between two points on a custom googlemap?
Hi Jackson,
In JavaScript, there is the toFixed() method converts a number into a string, keeping a specified number of decimals.
codevar value = 85.08850817788226;
var v = value.toFixed(2);
The result of v is: 85.09/code