Sha256: 568fcbbfd76b8a4c2442e4d57486617098d01ee3e6f3ed2b12aefcfb5f5ed8e3

Contents?: true

Size: 676 Bytes

Versions: 4

Compression:

Stored size: 676 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

UnitMeasurements::ElectricCharge = UnitMeasurements.build do
  primitive "C"

  system :metric do
    si_unit "C", aliases: ["coulomb", "coulombs"]

    unit "Fr", value: "3.335641e-10 C", aliases: ["franklin", "franklins"]
    unit "Fd", value: "96485.3377164 C", aliases: ["faraday", "faradays"]
    unit "abC", value: "10 C", aliases: ["abcoulomb", "abcoulombs"]
    unit "statC", value: "3.335641e-10 C", aliases: ["statcoulomb", "statcoulombs"]
  end

  system :planck_units do
    unit "qₚ", value: "1.875545956e-18 C", aliases: ["planck length", "quantum length"]
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
unit_measurements-5.19.0 lib/unit_measurements/unit_groups/electric_charge.rb
unit_measurements-5.18.0 lib/unit_measurements/unit_groups/electric_charge.rb
unit_measurements_us_complete-5.17.0 lib/unit_measurements/unit_groups/electric_charge.rb
unit_measurements-5.17.0 lib/unit_measurements/unit_groups/electric_charge.rb