Numeric value of constants #27
-
Is there a simple way to obtain the numeric value of constants, or combination of constants? I need to multiply the equation by the factor of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The numerical value of a quantity with units is not well defined, is it? You can use |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
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.