nick34992
6/28/2017 - 5:11 PM

Elixir: Module: Convert mps to mph or kph

Elixir: Module: Convert mps to mph or kph

defmodule Convert do
  def mps_to_mph(mps) do
   2.23693629 * mps
  end
  def mps_to_kph(mps) do
   3.6 * mps
  end
end