Sha256: 9261a203eac1fafdcda8d59c2d054df5a7389996c07102eea2f91a8566da7f9c

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

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

UnitMeasurements::ElectricCurrent = UnitMeasurements.build do
  primitive "A"

  system :metric do
    si_unit "A", aliases: ["amp", "ampere", "amperes"]
  end

  system :centimetre_gram_second do
    unit "Bi", value: "10 A", aliases: ["biot", "biots"]
    unit "abA", value: "10 A", aliases: ["abampere", "abamperes"]
    unit "statA", value: "3.33564e-10 A", aliases: ["statampere", "statamperes"]
  end

  system :planck_units do
    unit "Iₚ", value: "3.4789e+25 A", aliases: ["planck current", "quantum current"]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unit_measurements-5.16.0 lib/unit_measurements/unit_groups/electric_current.rb