Texas
Our web spider found the following code snippet at samples_collinssoftware_com and contains information about abs and JavaScript.
abs(cx);
d = Math.floor(x)
t = (x - d) * 60;
m = Math.floor(t);
s = new Number((t - m) * 60);
a = sign + d + "° " + m + "' " + s.toPrecision(6) + '"';
return (a);
</script>  
Script_DragIcon
<SCRIPT language="javascript">
function XToScreen(x) {
var ix;
ix = (Round( ((x - -100.078365) / 0.03293406) + 199));
ix = ix + 0;
return (ix);
function YToScreen(y) {
var ty;
ty = ((y - 37.403445 ) / 0.03293406) + 193;
ty = 387 - Round(ty);
ty = ty + 0;
return (ty);
function ScreenToX(sx) {

var tx;
 
 tx = sx - 0;
 
 return (((tx - 199) * 0.03293406) + -100.078365);
 
}

 
function ScreenToY(sy) {
 
 var ty;
 
 ty = sy - 0;
 
 return ((((387 - ty) -
 193) * 0.03293406) + 37
Read the entire article....