final class Percent extends AnyVal with Any.Datum.Double.Number[Util.Percent]

General 'percent' presentation.

Note: Percent is aliased to scalqa root and can universally be used without 'Util' prefix.

Ordering
  1. Alphabetic
Inherited
  1. Percent
  2. Any.Datum.Double.Number
  3. Any.Datum.Double.Number._use
  4. Any.Datum.Z.Number.Use
  5. Any.Datum.Double.Number._convert
  6. Any.Datum.Z.Number.Convert
  7. Any.Datum.Double.Number._compare
  8. Any.Datum.Z.Number.Compare
  9. Any.Datum.Double.Computable
  10. Any.Datum.Z.Computable
  11. Any.Datum.Double.Ordered
  12. Any.Datum.Z.Ordered
  13. Any.Datum.Double
  14. Custom.Number.Like
  15. Any.Datum
  16. Any.Wrap
  17. scala.AnyVal
  18. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Constant

  1. val real: Double
    Attributes
    protected
    Definition Classes
    Percent_convert_compare_Trait_Trait

Method

  1. def abs: Percent

    Absolute value

    Absolute value

    Returns absolute value of this

    Definition Classes
    _Trait → Computable
  2. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  3. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  4. def make(v: Double): Percent
    Attributes
    protected
    Definition Classes
    _Trait_Trait
  5. def max(v: Percent): Percent

    Maximum value

    Maximum value

    Returns maximum of this and provided value

    Definition Classes
    _Trait → Ordered
  6. def min(v: Percent): Percent

    Minimum value

    Minimum value

    Returns minimum of this and provided value

    Definition Classes
    _Trait → Ordered
  7. def realNumber: Double
    Attributes
    protected
    Definition Classes
    _TraitLike
  8. def round(scale: Int, r: Custom.Rounding = \/): Percent

    Round value

    Round value

    Negative scale specifies number of rounding digits before the period

    Positive scale specifies number of rounding digits after the period

    Note. Positive scale does not make sense if this is integral value

    By default the rounding is done "half up'

    Definition Classes
    _use → Use
  9. def setup: Percent.type
    Attributes
    protected
    Definition Classes
    Percent_Trait_Trait_Trait_Trait
  10. def signum: Int

    Sign function

    Sign function

    Returns -1 if this < 0

    Returns 0 if this == 0

    Returns 1 if this > 0 *

    Definition Classes
    _use → Use
  11. def toByte: Byte

    Convert to Byte

    Convert to Byte

    Returns the value of this as Byte

    Definition Classes
    _convert → Convert
  12. def toDouble: Double

    Convert to Double

    Convert to Double

    Returns the value of this as Double

    Definition Classes
    _convert → Convert
  13. def toFloat: Float
    Definition Classes
    _convert → Convert
  14. def toInt: Int

    Convert to Int

    Convert to Int

    Returns the value of this as Int

    Definition Classes
    _convert → Convert
  15. def toLong: Long

    Convert to Long

    Convert to Long

    Returns the value of this as Long

    Definition Classes
    _convert → Convert
  16. def toNumber: Double

    Convert to Number

    Convert to Number

    Returns the value of this as java.lang.Number

    Definition Classes
    _convert → Convert
  17. def toShort: Short

    Convert to Short

    Convert to Short

    Returns the value of this as Short

    Definition Classes
    _convert → Convert
  18. def toString(): String

    String description

    String description

    Double value is converted to Float and '%'

    3.1416.Percent.lp // Prints: 3.14%
    Definition Classes
    Percent → Any

Operator

  1. def unary_-: Percent

    Negate

    Negate

    Returns a new value, which is negated this

    Definition Classes
    _use → Use
  2. def !=(v: Double): Boolean

    Not equals test

    Not equals test

    Returns true if this is not equal to v, false otherwise

    Definition Classes
    _compare → Compare
  3. def !=(v: Float): Boolean

    Not equals test

    Not equals test

    Returns true if this is not equal to v, false otherwise

    Definition Classes
    _compare → Compare
  4. def !=(v: Long): Boolean

    Not equals test

    Not equals test

    Returns true if this is not equal to v, false otherwise

    Definition Classes
    _compare → Compare
  5. def !=(v: Int): Boolean

    Not equals test

    Not equals test

    Returns true if this is not equal to v, false otherwise

    Definition Classes
    _compare → Compare
  6. def !=(v: Short): Boolean

    Not equals test

    Not equals test

    Returns true if this is not equal to v, false otherwise

    Definition Classes
    _compare → Compare
  7. def !=(v: Byte): Boolean

    Not equals test

    Not equals test

    Returns true if this is not equal to v, false otherwise

    Definition Classes
    _compare → Compare
  8. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  9. final def ##(): Int
    Definition Classes
    Any
  10. def %(v: Double): Percent

    Remainder

    Remainder

    Returns a new value, which is remainder of this divided by v

    Definition Classes
    _use
  11. def %(v: Float): Percent

    Remainder

    Remainder

    Returns a new value, which is remainder of this divided by v

    Definition Classes
    _use
  12. def %(v: Long): Percent

    Remainder

    Remainder

    Returns a new value, which is remainder of this divided by v

    Definition Classes
    _use
  13. def %(v: Int): Percent

    Remainder

    Remainder

    Returns a new value, which is remainder of this divided by v

    Definition Classes
    _use
  14. def %(v: Percent): Percent

    Remainder

    Remainder

    Returns a new value, which is remainder of this divided by v

    Definition Classes
    _use → Use
  15. def %@(v: Double): Percent
    Definition Classes
    _use
  16. def %@(v: Percent): Percent

    Percent At

    Percent At

    Returns percentage of this compared to v

    Definition Classes
    _Trait → Computable
  17. def *(v: Percent): Percent

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _use → Use
  18. def *(v: Double): Percent

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _Trait
  19. def *(v: Float): Percent

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _Trait
  20. def *(v: Long): Percent

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _Trait
  21. def *(v: Int): Percent

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _Trait
  22. def +(p: Percent): Percent

    Add percent

    Add percent

    Returns a new value, which is this with added percent of this

    Definition Classes
    Percent_Trait → Computable
  23. def +(v: Double): Percent

    Add value

    Add value

    Returns a new value, which is an addition of this and v

    Definition Classes
    _use
  24. def +(v: Float): Percent

    Add value

    Add value

    Returns a new value, which is an addition of this and v

    Definition Classes
    _use
  25. def +(v: Long): Percent

    Add value

    Add value

    Returns a new value, which is an addition of this and v

    Definition Classes
    _use
  26. def +(v: Int): Percent

    Add value

    Add value

    Returns a new value, which is an addition of this and v

    Definition Classes
    _use
  27. def +(v: Percent, V: \/ = \/): Percent

    Add value

    Add value

    Returns a new value, which is an addition of this and v

    Definition Classes
    _Trait → Computable
  28. def -(p: Percent): Percent

    Subtract percent

    Subtract percent

    Returns a new value, which is this with subtracted percent of this

    Definition Classes
    Percent_Trait → Computable
  29. def -(v: Double): Percent

    Subtract value

    Subtract value

    Returns a new value, which is a subtraction of v from this

    Definition Classes
    _use
  30. def -(v: Float): Percent

    Subtract value

    Subtract value

    Returns a new value, which is a subtraction of v from this

    Definition Classes
    _use
  31. def -(v: Long): Percent

    Subtract value

    Subtract value

    Returns a new value, which is a subtraction of v from this

    Definition Classes
    _use
  32. def -(v: Int): Percent

    Subtract value

    Subtract value

    Returns a new value, which is a subtraction of v from this

    Definition Classes
    _use
  33. def -(v: Percent, V: \/ = \/): Percent

    Subtract value

    Subtract value

    Returns a new value, which is a subtraction of v from this

    Definition Classes
    _Trait → Computable
  34. def /(v: Percent): Percent

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _use → Use
  35. def /(v: Double): Percent

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _Trait
  36. def /(v: Float): Percent

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _Trait
  37. def /(v: Long): Percent

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _Trait
  38. def /(v: Int): Percent

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _Trait
  39. def <(v: Double): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _compare → Compare
  40. def <(v: Float): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _compare → Compare
  41. def <(v: Long): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _compare → Compare
  42. def <(v: Int): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _compare → Compare
  43. def <(v: Short): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _compare → Compare
  44. def <(v: Byte): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _compare → Compare
  45. def <(v: Percent): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _Trait → Ordered
  46. def <=(v: Double): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  47. def <=(v: Float): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  48. def <=(v: Long): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  49. def <=(v: Int): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  50. def <=(v: Short): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  51. def <=(v: Byte): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  52. def <=(v: Percent): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _Trait → Ordered
  53. def ==(v: Double): Boolean

    Equals test

    Equals test

    Returns true if this is equal to v, false otherwise

    Definition Classes
    _compare → Compare
  54. def ==(v: Float): Boolean

    Equals test

    Equals test

    Returns true if this is equal to v, false otherwise

    Definition Classes
    _compare → Compare
  55. def ==(v: Long): Boolean

    Equals test

    Equals test

    Returns true if this is equal to v, false otherwise

    Definition Classes
    _compare → Compare
  56. def ==(v: Int): Boolean

    Equals test

    Equals test

    Returns true if this is equal to v, false otherwise

    Definition Classes
    _compare → Compare
  57. def ==(v: Short): Boolean

    Equals test

    Equals test

    Returns true if this is equal to v, false otherwise

    Definition Classes
    _compare → Compare
  58. def ==(v: Byte): Boolean

    Equals test

    Equals test

    Returns true if this is equal to v, false otherwise

    Definition Classes
    _compare → Compare
  59. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  60. def >(v: Double): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _compare → Compare
  61. def >(v: Float): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _compare → Compare
  62. def >(v: Long): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _compare → Compare
  63. def >(v: Int): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _compare → Compare
  64. def >(v: Short): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _compare → Compare
  65. def >(v: Byte): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _compare → Compare
  66. def >(v: Percent): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _Trait → Ordered
  67. def >=(v: Double): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  68. def >=(v: Float): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  69. def >=(v: Long): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  70. def >=(v: Int): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  71. def >=(v: Short): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  72. def >=(v: Byte): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _compare → Compare
  73. def >=(v: Percent): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _Trait → Ordered