question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

° as unit like in Mathcad

See original GitHub issue

So, using unit ° in Mathcad is more simple clear that #rad/#deg switching. I suggest to introduce ° unit (the lone symbol is not occupied, am I right?) without #rad/#deg behaviour chaning:

α=90°
α
α|°

Shows:

α=90°
α=1.5708
α=90°

The main point is that unitless and ° must be compatible. When #rad using the value of sin(90°) is 1 - it’s clear. What happened when #deg enabled and sin(90°) using? - It’s a problem, but let it shows 0.2741 - backward compatibility is more expensive. Another problem is default mode #deg - may be it’s need to show “⚠RECOMMENDED TO USE #rad MODE WITH °” if ° exists in code and #rad missing.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
csercommented, Jun 19, 2022

Thank you! It’s made more convenient than I expected O_o. image …It’s not bugreport - I just fun that It works so 😃

2reactions
Proektsoftbgcommented, May 17, 2022

OK. That is easy to do. I will include it in the next version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

About Units
PTC Mathcad provides a complete set of units in the International System (SI), United States Customary System (USCS), and Centimeter Gram Second (CGS)...
Read more >
Solved: How to tell Mathcad that what we write is a unit?
1. I meant to write nC/m^3 as a unit, nanoCoulomb per meter cubic. However mathcad considers it as something else (variable maybe?)
Read more >
Displaying units of results MathCad Help
Choose Unit from the Insert menu. • In the scrolling list of units, double-click on the unit in terms of which you want...
Read more >
Going Back to the Mathcad Basics | PTC
Simple units for mass, length, temperature, and time. · Derived units, like area, power, and torque. · Complex units, like illuminance, inductance ...
Read more >
Default Unit System - an overview
If you want Mathcad to display a unit different from the default unit, click the unit placeholder and type the name of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found