Percent

Alias

Inherited

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Framework
Source
__.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
final val Fun: Double.Fun[Percent]

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Framework
Source
__.scala
type Idx = Double.G.Idx[A]

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Framework
Source
__.scala
final val Idx: Double.Idx[Percent]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Lookup[B] = Lookup[A, B]

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Opt = Double.G.Opt[A]

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Framework
Source
__.scala
final val Opt: Double.Opt[Percent]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Parameterized J.Ordering

Parameterized J.Ordering

Already parameterized generic J.Ordering

Inherited from
Framework
Source
__.scala
type Pro = Double.G.Pro[A]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Framework
Source
__.scala
final val Pro: Double.Pro[Percent]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Promise = Promise[A]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Result = Result.type[A]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Type alias

Type alias

Shortcut to Collection.StableSet

Inherited from
Framework
Source
__.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Def

inline def apply(inline v: Double): Percent

Create from Double

Create from Double

Easier way is to use built-in constructor:

 3.14.Percent.tp  // Prints: 3.14%
Source
Percent.scala
inline def apply(value: Double, base: Double): Percent

Create from value and base

Create from value and base

Returns percent of given value relative to given base

Source
Percent.scala
inline def apply(value: Number, base: Number): Percent

Create from value and base

Create from value and base

Returns percent of given value relative to given base

Source
Percent.scala
inline def apply(inline nv: Int): Int

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: Long): Long

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: Float): Float

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: Double)(using inline v: \/): Double

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: A)(using inline n: Math[A]): A

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: A)(using inline n: Math[A]): A

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: A)(using inline n: Math[A]): A

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
inline def apply(inline nv: A)(using inline n: Math[A]): A

Take percent

Take percent

Applies this percent to given value.

Source
Percent.scala
override def isVoid(v: Percent): Boolean
Definition Classes
Source
Percent.scala
override def tag(v: Percent): String
Definition Classes
Source
Percent.scala

Inherited

@targetName("numberRemainder")
inline def %[A <: RAW](inline v: A | Double): A

Remainder

Remainder

Returns the remainder of the division of this by given value

Inherited from
Number
Source
Number.scala
@targetName("numberMultiply")
inline def *[A <: RAW](inline v: A | Double): A

Multiply

Multiply

Returns the product of this and given value

Inherited from
Number
Source
Number.scala
@targetName("numberPlus")
inline def +[A <: RAW](inline v: A | Double): A

Plus

Plus

Returns the sum of this and given value

Inherited from
Number
Source
Number.scala
@targetName("numberMinus")
inline def -[A <: RAW](inline v: A | Double): A

Minus

Minus

Returns difference of this and given value

Inherited from
Number
Source
Number.scala
@targetName("numberDivide")
inline def /[A <: RAW](inline v: A | Double): A

Divide

Divide

Returns the quotient of this and given value

Inherited from
Number
Source
Number.scala
@targetName("numberLess")
inline def <[A <: RAW](inline v: A | Double): Boolean

Less

Less

Returns true if current value is less than given, false - otherwise

Inherited from
Number
Source
Number.scala
@targetName("less")
inline def <[A <: RAW](inline v: A): Boolean

Less

Less

Returns true if current value is less than given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
@targetName("numberLessOrEqual")
inline def <=[A <: RAW](inline v: A | Double): Boolean

Less or equal

Less or equal

Returns true if current value is less or equal to given, false - otherwise

Inherited from
Number
Source
Number.scala
@targetName("lessOrEqual")
inline def <=[A <: RAW](inline v: A): Boolean

Less or equal

Less or equal

Returns true if current value is less or equal to given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
@targetName("rangeX")
inline def <>>[A <: RAW](inline to: A): Double.G.<>[A]

Exclusive end range

Exclusive end range

Returns Range from current to given value exclusive

Note. Range uses base primitive natural ordering

Inherited from
Ordered
Source
Ordered.scala
@targetName("numberGreater")
inline def >[A <: RAW](inline v: A | Double): Boolean

Greater

Greater

Returns true if current value is greater than given, false - otherwise

Inherited from
Number
Source
Number.scala
@targetName("greater")
inline def >[A <: RAW](inline v: A): Boolean

Greater

Greater

Returns true if current value is greater than given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
@targetName("numberGreaterOrEqual")
inline def >=[A <: RAW](inline v: A | Double): Boolean

Greater or equal

Greater or equal

Returns true if current value is greater or equal to given, false - otherwise

Inherited from
Number
Source
Number.scala
@targetName("greaterOrEqual")
inline def >=[A <: RAW](inline v: A): Boolean

Greater or equal

Greater or equal

Returns true if current value is greater or equal to given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
inline def abs[A <: RAW]: A
Inherited from
Number
Source
Number.scala
inline def atLeast[A <: RAW](v: A): A

Max

Max

Returns maximum of current or given value

Inherited from
Ordered
Source
Ordered.scala
inline def atMost[A <: RAW](v: A): A

Min

Min

Returns minimun of current or given value

Inherited from
Ordered
Source
Ordered.scala
inline def emptyArray: Array[Percent]

Empty array

Empty array

Returns singleton scala.Array.emptyDoubleArray

Inherited from
Framework
Source
__.scala
def info(v: Percent): Info

Type to Info

Type to Info

Override this method to provide type standard Info implementation

Inherited from
Type
Source
Type.scala
final def isRef: Boolean
Inherited from
Type
Source
Type.scala
@threadUnsafe
final lazy val math: Double.G.Math[Percent]
Inherited from
Number
Source
Number.scala
val name: String
Inherited from
Type
Source
__.scala
@threadUnsafe
Inherited from
Ordered
Source
Ordered.scala
inline def real: Double
Inherited from
Type
Source
__.scala
inline def roundDecimal[A <: RAW](inline d: Int)(using inline r: Rounding): A
Inherited from
Number
Source
Number.scala
inline def roundTo[A <: RAW](inline size: A)(using inline r: Rounding): A

Round to size

Round to size

Rounds current value to specified size

Inherited from
Number
Source
Number.scala
inline def sign[A <: RAW]: Int

Sign

Sign

Returns -1 if this is negative, 0 - if this value equals to 0, and 1 otherwise

Inherited from
Number
Source
Number.scala
inline def unary_-[A <: RAW]: A

Negate

Negate

Returns negation of this value

Inherited from
Number
Source
Number.scala

To

Inherited

inline def Byte[A <: RAW]: Byte

To Byte

To Byte

Byte constructor as a conversion from this value

Inherited from
Number
Source
Number.scala
inline def Double[A <: RAW]: Double

To Double

To Double

Double constructor as a conversion from this value

Inherited from
Number
Source
Number.scala
inline def Float[A <: RAW]: Float

To Float

To Float

Float constructor as a conversion from this value

Inherited from
Number
Source
Number.scala
inline def Int[A <: RAW]: Int

To Int

To Int

Int constructor as a conversion from this value

Inherited from
Number
Source
Number.scala
inline def Long[A <: RAW]: Long

To Long

To Long

Long constructor as a conversion from this value

Inherited from
Number
Source
Number.scala
inline def Number[A <: RAW]: Double

To Number

To Number

Number constructor as a conversion from this value

Inherited from
Number
Source
Number.scala
inline def Short[A <: RAW]: Short

To Short

To Short

Short constructor as a conversion from this value

Inherited from
Number
Source
Number.scala