class Percentage : Comparable


Represents a value as a percentage, not a fraction - for example 100%, 89.62%, etc.

Summary

Public constructors

Public functions

open operator Int
open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Double

Public constructors

Percentage

Added in 1.1.0-alpha10
Percentage(value: Double)

Public functions

compareTo

Added in 1.1.0-alpha10
open operator fun compareTo(other: Percentage): Int

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

value

Added in 1.1.0-alpha10
val valueDouble