i work on an Request Modul for Wikipedia and have the following Problem..
in my Line (Code) i read the KM from nearby Wikipedia in this form..
"<br>Entfernung: ", item.distance, " KM"));
It will show me Results like that :
Entfernung: 8.621993412293858 KM
How can i reduce this Output to 8.62 KM, so that the Preview is easy to read ?
Can any give me some assist ??