Ampere

class Ampere(var value: Double) : Expression

System International Unit for electric current.

Constructors

Link copied to clipboard
constructor(value: Double)

Creates the unit with given value.

Properties

Link copied to clipboard

Returns the numerical value of aA, (10^-18 of ampere)

Link copied to clipboard

Percentage as double

Link copied to clipboard

Percentage as double

Link copied to clipboard

Returns the numerical value of aA (10^-18 of ampere)

Link copied to clipboard

Returns the numerical value of cA, (10^-2 of ampere)

Link copied to clipboard

Returns the numerical value of cA (10^-2 of ampere)

Link copied to clipboard

Returns the numerical value of dA, (10^-1 of ampere)

Link copied to clipboard

Returns the numerical value of daA, (10^1 of ampere)

Link copied to clipboard

Returns the numerical value of daA (10^1 of ampere)

Link copied to clipboard

Returns the numerical value of dA (10^-1 of ampere)

Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "getEA_prop")
val Ampere.EA: Double

Returns the numerical value of EA, (10^18 of ampere)

Link copied to clipboard

Returns the numerical value of EA (10^18 of ampere)

Link copied to clipboard

Returns the numerical value of fA, (10^-15 of ampere)

Link copied to clipboard

Returns the numerical value of fA (10^-15 of ampere)

Link copied to clipboard
@get:JvmName(name = "getGA_prop")
val Ampere.GA: Double

Returns the numerical value of GA, (10^9 of ampere)

Link copied to clipboard

Returns the numerical value of GA (10^9 of ampere)

Link copied to clipboard

Returns the numerical value of hA, (10^2 of ampere)

Link copied to clipboard

Returns the numerical value of hA (10^2 of ampere)

Link copied to clipboard

Returns the numerical value of kA, (10^3 of ampere)

Link copied to clipboard

Returns the numerical value of kA (10^3 of ampere)

Link copied to clipboard
@get:JvmName(name = "getMA_prop")
val Ampere.MA: Double

Returns the numerical value of MA, (10^6 of ampere)

Link copied to clipboard

Returns the numerical value of mA, (10^-3 of ampere)

Link copied to clipboard

Returns the numerical value of MA (10^6 of ampere)

Link copied to clipboard

Returns the numerical value of μA (10^-6 of ampere)

Link copied to clipboard

Returns the numerical value of mA (10^-3 of ampere)

Link copied to clipboard

Returns the numerical value of nA, (10^-9 of ampere)

Link copied to clipboard

Returns the numerical value of nA (10^-9 of ampere)

Link copied to clipboard
@get:JvmName(name = "getPA_prop")
val Ampere.PA: Double

Returns the numerical value of PA, (10^15 of ampere)

Link copied to clipboard

Returns the numerical value of pA, (10^-12 of ampere)

Link copied to clipboard

Returns the numerical value of PA (10^15 of ampere)

Link copied to clipboard

Returns the numerical value of pA (10^-12 of ampere)

Link copied to clipboard
@get:JvmName(name = "getQA_prop")
val Ampere.QA: Double

Returns the numerical value of QA, (10^30 of ampere)

Link copied to clipboard

Returns the numerical value of qA, (10^-30 of ampere)

Link copied to clipboard

Returns the numerical value of qA (10^-30 of ampere)

Link copied to clipboard

Returns the numerical value of QA (10^30 of ampere)

Link copied to clipboard
@get:JvmName(name = "getRA_prop")
val Ampere.RA: Double

Returns the numerical value of RA, (10^27 of ampere)

Link copied to clipboard

Returns the numerical value of rA, (10^-27 of ampere)

Link copied to clipboard

Returns the numerical value of RA (10^27 of ampere)

Link copied to clipboard

Returns the numerical value of rA (10^-27 of ampere)

Link copied to clipboard
@get:JvmName(name = "getTA_prop")
val Ampere.TA: Double

Returns the numerical value of TA, (10^12 of ampere)

Link copied to clipboard

Returns the numerical value of TA (10^12 of ampere)

Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "getYA_prop")
val Ampere.YA: Double

Returns the numerical value of YA, (10^24 of ampere)

Link copied to clipboard

Returns the numerical value of yA, (10^-24 of ampere)

Link copied to clipboard

Returns the numerical value of yA (10^-24 of ampere)

Link copied to clipboard

Returns the numerical value of YA (10^24 of ampere)

Link copied to clipboard
@get:JvmName(name = "getZA_prop")
val Ampere.ZA: Double

Returns the numerical value of ZA, (10^21 of ampere)

Link copied to clipboard

Returns the numerical value of zA, (10^-21 of ampere)

Link copied to clipboard

Returns the numerical value of zA (10^-21 of ampere)

Link copied to clipboard

Returns the numerical value of ZA (10^21 of ampere)

Link copied to clipboard

Returns the numerical value of μA, (10^-6 of ampere)

Functions

Link copied to clipboard
infix fun Expression.^(degree: Number): Expression

Allows to power an expression to given degree

Link copied to clipboard
open override fun categorySymbols(): String

Returns representation of unit as sequence of separate category symbols and their powers according to SI-Standard recommendations.

Link copied to clipboard
fun compare(other: Expression): Int

Compares expressions. With small relative difference of values both objects can be recognised as equal.

Link copied to clipboard
open operator override fun compareTo(other: Expression): Int

Compares expressions. With small relative difference of values both objects can be recognised as equal.

Link copied to clipboard

Allows to divide expressions.

fun div(other: Number): Expression

Allows to divide expression on number.

Link copied to clipboard

Allows to divide expressions.

operator fun Expression.div(x: Number): Expression

Allows to divide expression to number.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

With small relative difference of values both objects can be recognised as equal.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Allows to subtract expressions.

Link copied to clipboard

Allows to subtract expressions.

Link copied to clipboard

Allows to divide number on expression.

Link copied to clipboard

Allows to add expressions.

Link copied to clipboard
operator fun Expression.plus(other: Expression): Expression

Allows to add expressions.

Link copied to clipboard

Allows to power an expression to given degree

Link copied to clipboard
fun pw(degree: Number): Expression

Allows to power an expression to given degree

Link copied to clipboard
operator fun Expression.rem(other: Expression): Expression

Allows to calculate the remainder of truncating division of this value by the other value.

Link copied to clipboard

Allows to multiply expressions.

fun times(other: Number): Expression

Allows to multiply expression and number.

Link copied to clipboard
operator fun Expression.times(other: Expression): Expression

Allows to multiply expressions.

operator fun Expression.times(multiplicative: Number): Expression

Allows to multiply expression and number.

Link copied to clipboard
open override fun toString(): String

Represents value as string with two digits after point as decimal separator. Please pay attention: representation of value depends on platform local settings on used computer!

Link copied to clipboard

Implementation of -=

Link copied to clipboard

Implementation of +=

Link copied to clipboard
open override fun unitSymbols(): String

Returns representation of unit as sequence of separate union symbols and their powers according to SI-Standard recommendations.