(27.19, 78.01)
i have this information in javascript and need in this form.
27.19N , 78.00E
if 27.19 is positive then include N after them otherwise S then it can be 27.19S
if 78.01 is positive then include E after them otherwise W then it can be 78.01W
how i can do this in javascript.