function ha2str(x) {
    if ((x < 0) || (360 < x)) print("function ha2str() range error!");

    var ra = x / 15;                       // degrees to hours
    var h = Math.floor(ra);
    var m = 60 * (ra - h);
    return cintstr(h, 3) + "h " + frealstr(m, 4, 1) + "m";
}
// converts hour angle in degrees into hour angle string

converts hour angle in degrees into hour angle string
converts hour angle in degrees into hour angle string
function ha2str(x) {
    if ((x < 0) || (360 < x)) print("function ha2str() range error!");
    var ra = x / 15;                       
    var h = Math.floor(ra);
    var m = 60 * (ra - h);
    return cintstr(h, 3) + "h " + frealstr(m, 4, 1) + "m";
}
function ha2str ( x ) { if ( ( x < 0 ) || ( 360 < x ) ) print ( "function ha2str() range error!" ) ; var ra = x / 15 ; var h = Math . floor ( ra ) ; var m = 60 * ( ra - h ) ; return cintstr ( h , 3 ) + "h " + frealstr ( m , 4 , 1 ) + "m" ; }
converts hour angle in degrees into hour angle string
converts hour angle in degrees into hour angle string
// degrees to hours
