function dec2str(x) {
    if ((x < -90) || (+90 < x)) print("function dec2str() range error!");

    var dec = Math.abs(x);
    var sgn = (x < 0) ? "-" : " ";
    var d = Math.floor(dec);
    var m = 60 * (dec - d);
    return sgn + cintstr(d, 2) + "° " + frealstr(m, 4, 1) + "'";
}
// converts declination angle in degrees into string

converts declination angle in degrees into string
converts declination angle in degrees into string
function dec2str(x) {
    if ((x < -90) || (+90 < x)) print("function dec2str() range error!");
    var dec = Math.abs(x);
    var sgn = (x < 0) ? "-" : " ";
    var d = Math.floor(dec);
    var m = 60 * (dec - d);
    return sgn + cintstr(d, 2) + "° " + frealstr(m, 4, 1) + "'";
}
function dec2str ( x ) { if ( ( x < - 90 ) || ( + 90 < x ) ) print ( "function dec2str() range error!" ) ; var dec = Math . abs ( x ) ; var sgn = ( x < 0 ) ? "-" : " " ; var d = Math . floor ( dec ) ; var m = 60 * ( dec - d ) ; return sgn + cintstr ( d , 2 ) + "° "  realstr( m , , ) '"; }
converts declination angle in degrees into string
converts declination angle in degrees into string