joshwlewis / unitwise

Physical quantity and units of measure conversion and math for Ruby
unitwise.org
MIT License
282 stars 32 forks source link

Miles per hour #70

Open fabiengagne opened 1 year ago

fabiengagne commented 1 year ago

Currently in version 2.3.0 the symbol for miles per hour is "mi/h". However people usually refer to "mph". Could you change it to "mph" ?

How to reproduce: Unitwise(10, "[mi_i]/h").to_s(:symbol) => "10 mi/h"

Expected result: Unitwise(10, "[mi_i]/h").to_s(:symbol) => "10 mph"