Skip to content

Commit

Permalink
Add arcminute and arcsecond
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyzt authored and gentooboontoo committed Mar 18, 2023
1 parent 81e5e4f commit 4226c6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/quantities/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ export var UNITS = {
/* angle */
"<radian>" :[["rad","radian","radians"], 1.0, "angle", ["<radian>"]],
"<degree>" :[["deg","degree","degrees"], Math.PI / 180.0, "angle", ["<radian>"]],
"<arcminute>" :[["arcmin","arcminute","arcminutes"], Math.PI / 10800.0, "angle", ["<radian>"]],
"<arcsecond>" :[["arcsec","arcsecond","arcseconds"], Math.PI / 648000.0, "angle", ["<radian>"]],
"<gradian>" :[["gon","grad","gradian","grads"], Math.PI / 200.0, "angle", ["<radian>"]],
"<steradian>" : [["sr","steradian","steradians"], 1.0, "solid_angle", ["<steradian>"]],

Expand Down

0 comments on commit 4226c6a

Please sign in to comment.