Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function r(x){return Math.round(x);}try{a=JSON.parse(z);v=r(a.velocity);h=r(a.altitude);u=a.units;`ISS velocity: ${v} ${u}/hr (${r(v*0.621371)} miles/hr) | Altitude: ${h} ${u} (${r(h*0.621371)} miles)`;}catch(e){`Data fetch error!`;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement