Packages

An implementation of the International System of Units (SI) in Gleam

Current section

Files

Jump to
gleameter src gleameter@units@current.erl
Raw

src/gleameter@units@current.erl

-module(gleameter@units@current).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([ampere/1, quettaampere/1, ronnaampere/1, yottaampere/1, zettaampere/1, exaampere/1, petaampere/1, teraampere/1, gigaampere/1, megaampere/1, kiloampere/1, hectoampere/1, decaampere/1, deciampere/1, centiampere/1, milliampere/1, microampere/1, nanoampere/1, picoampere/1, femtoampere/1, attoampere/1, zeptoampere/1, yoctoampere/1, rontoampere/1, quectoampere/1]).
-export_type([ampere/0]).
-type ampere() :: any().
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 9).
-spec ampere(float()) -> gleameter:quantity(float(), ampere()).
ampere(Value) ->
{quantity, Value}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 13).
-spec quettaampere(float()) -> gleameter:quantity(float(), ampere()).
quettaampere(Value) ->
{quantity, Value * 10.0e30}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 17).
-spec ronnaampere(float()) -> gleameter:quantity(float(), ampere()).
ronnaampere(Value) ->
{quantity, Value * 10.0e27}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 21).
-spec yottaampere(float()) -> gleameter:quantity(float(), ampere()).
yottaampere(Value) ->
{quantity, Value * 10.0e24}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 25).
-spec zettaampere(float()) -> gleameter:quantity(float(), ampere()).
zettaampere(Value) ->
{quantity, Value * 10.0e21}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 29).
-spec exaampere(float()) -> gleameter:quantity(float(), ampere()).
exaampere(Value) ->
{quantity, Value * 10.0e18}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 33).
-spec petaampere(float()) -> gleameter:quantity(float(), ampere()).
petaampere(Value) ->
{quantity, Value * 10.0e15}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 37).
-spec teraampere(float()) -> gleameter:quantity(float(), ampere()).
teraampere(Value) ->
{quantity, Value * 10.0e12}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 41).
-spec gigaampere(float()) -> gleameter:quantity(float(), ampere()).
gigaampere(Value) ->
{quantity, Value * 10.0e9}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 45).
-spec megaampere(float()) -> gleameter:quantity(float(), ampere()).
megaampere(Value) ->
{quantity, Value * 10.0e6}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 49).
-spec kiloampere(float()) -> gleameter:quantity(float(), ampere()).
kiloampere(Value) ->
{quantity, Value * 10.0e3}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 53).
-spec hectoampere(float()) -> gleameter:quantity(float(), ampere()).
hectoampere(Value) ->
{quantity, Value * 100.0}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 57).
-spec decaampere(float()) -> gleameter:quantity(float(), ampere()).
decaampere(Value) ->
{quantity, Value * 10.0}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 61).
-spec deciampere(float()) -> gleameter:quantity(float(), ampere()).
deciampere(Value) ->
{quantity, Value * 10.0e-1}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 65).
-spec centiampere(float()) -> gleameter:quantity(float(), ampere()).
centiampere(Value) ->
{quantity, Value * 10.0e-2}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 69).
-spec milliampere(float()) -> gleameter:quantity(float(), ampere()).
milliampere(Value) ->
{quantity, Value * 10.0e-3}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 73).
-spec microampere(float()) -> gleameter:quantity(float(), ampere()).
microampere(Value) ->
{quantity, Value * 10.0e-6}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 77).
-spec nanoampere(float()) -> gleameter:quantity(float(), ampere()).
nanoampere(Value) ->
{quantity, Value * 10.0e-9}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 81).
-spec picoampere(float()) -> gleameter:quantity(float(), ampere()).
picoampere(Value) ->
{quantity, Value * 10.0e-12}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 85).
-spec femtoampere(float()) -> gleameter:quantity(float(), ampere()).
femtoampere(Value) ->
{quantity, Value * 10.0e-15}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 89).
-spec attoampere(float()) -> gleameter:quantity(float(), ampere()).
attoampere(Value) ->
{quantity, Value * 10.0e-18}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 93).
-spec zeptoampere(float()) -> gleameter:quantity(float(), ampere()).
zeptoampere(Value) ->
{quantity, Value * 10.0e-21}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 97).
-spec yoctoampere(float()) -> gleameter:quantity(float(), ampere()).
yoctoampere(Value) ->
{quantity, Value * 10.0e-24}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 101).
-spec rontoampere(float()) -> gleameter:quantity(float(), ampere()).
rontoampere(Value) ->
{quantity, Value * 10.0e-27}.
-file("/home/theonlytails/IdeaProjects/gleameter/src/gleameter/units/current.gleam", 105).
-spec quectoampere(float()) -> gleameter:quantity(float(), ampere()).
quectoampere(Value) ->
{quantity, Value * 10.0e-30}.