Skip to content

Commit

Permalink
Merge pull request openwebwork#1203 from drgrice1/degree-unit-more-ac…
Browse files Browse the repository at this point in the history
…curate

Improve the accuracy of the degree unit.
  • Loading branch information
pstaabp authored Mar 4, 2025
2 parents be9ea0f + 28ffa1a commit 8613565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Units.pm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ our %known_units = (

# ANGLES: fundamental unit rad (radian)
deg => { # degree
factor => 0.0174532925,
factor => $PI / 180,
rad => 1,
aliases => [ "\x{00B0}", 'degree', 'degrees' ]
},
Expand Down

0 comments on commit 8613565

Please sign in to comment.