Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Variable output question

Featured Replies

Hello!I have a variable (A:PLANE LATITUDE, degree latitude), text output is degrees (2 numbers), and dezimal(4 numbers) for examble 44.3056My quest now, how do I get degrees (2 numbers) minutes, (2 numbers) and seconds (2 numers) ? Something like 44.30,56Can anyone help me?Yngwie

Hi,I don't know about your skills in XML coding, but here is a couple of my very useful macros: %((@1,degrees) s5 abs s0 int sp1 l0 l1 - 60 * s2 d int - 60 * sp3 l5 0 >= if{ 'N ' } els{ 'S ' })%!s!%(l0 int)%!2d!.%(l2 int)%!02d!.%(l3 near)%!02d!%((@1,degrees) s5 abs s0 int sp1 l0 l1 - 60 * s2 d int - 60 * sp3 l5 0 >= if{ 'E' } els{ 'W' })%!s!%(l0 int)%!3d!.%(l2 int)%!02d!.%(l3 near)%!02d!and the strings:@FLatitude(A:Plane Latitude)Will print Xdg.mn.sc where X is N or S, dg are degrees , mn are minutes and sc are seconds. @FLongitude(A:Plane Longitude)Will print Xdgr.mn.sc where X is E or W, dgr are degrees , mn are minutes and sc are seconds. If you know how to work with macros it should be a simple task to adapt this code to your own needs.Hope this helpsTomPS: Also would be a good thing to follow Steve's link :-)

Hello Guys!Thank you very much! It work's "perfect"!Yngwie

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.