Skip to content

Numeric value of constants #27

Answered by giordano
dlinhart14 asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a simple way to obtain the numeric value of constants, or combination of constants?

The numerical value of a quantity with units is not well defined, is it? You can use Unitful.ustrip instead of dividing by the unit, but you can't get around specifying the unit in which you want your number, otherwise in principle I can give you an arbitrary random number if you ask me for the "numerical value" of a constant without specifying the units.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dlinhart14
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #26 on February 26, 2024 16:17.