Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

declination

number declination(latitude, longitude, altitude, timestamp)

Returns the approximate declination of the horizontal component of the magnetic field from true north at location and time.

Parameters

  1. latitude — latitude of location.
  2. longitude — longitude of location.
  3. altitude — optional altitude in meters, default is 0.
  4. ts — optional unix timestamp, default is current time.

Returns

  • an approximate declination from true north in degrees.
Note! This documentation can also be found in the Help & feedback menu of the app.