Skip to content

[tool] radians_to_degrees - #378

Open
shaurya703 wants to merge 1 commit into
abduznik:mainfrom
shaurya703:tool/radians_to_degrees
Open

[tool] radians_to_degrees#378
shaurya703 wants to merge 1 commit into
abduznik:mainfrom
shaurya703:tool/radians_to_degrees

Conversation

@shaurya703

Copy link
Copy Markdown

Fixes #374

Adds the radians_to_degrees tool: converts an angle from radians to degrees using math.degrees (degrees = radians × 180/π), rounded to 4 decimal places to match the requested example.

Checklist

  • File is in tools/ directory
  • File has header comments (# tool, # description, # author, # example)
  • File has a single run(*args) -> str function
  • Stdlib only, no external dependencies
  • Tested locally: python bitbox.py radians_to_degrees "3.14159" -> 179.9998; invalid input returns an error string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tool] radians_to_degrees

1 participant