ExKcal.SI.prefix_conversion_factor

You're seeing just the function prefix_conversion_factor, go back to ExKcal.SI module for more information.
Link to this function

prefix_conversion_factor(from, to)

Specs

prefix_conversion_factor(si_prefix(), si_prefix()) :: integer()

Calculates shift required for prefix conversion.

Examples

iex> import ExKcal.SI
iex> prefix_conversion_factor(:m, :M)
-9
iex> prefix_conversion_factor(:G, :m)
12