textualizeAssetPercent

open fun textualizeAssetPercent(startValue: Double, lastValue: Double): String

Method to get percent between two values and textualize it

Return

percent value e.g. +8% or -8% as String

Parameters

startValue

: first value to make compare

lastValue

: last value to compare and get percent by first value


open fun textualizeAssetPercent(startValue: Double, lastValue: Double, decimalDigits: Int): String

Method to get percent between two values and textualize it

Return

percent value e.g. +8% or -8% as String

Parameters

startValue

: first value to make compare

lastValue

: last value to compare and get percent by first value

decimalDigits

: number of digits to round final percent value


open fun textualizeAssetPercent(percent: Double, decimalDigits: Int): String

Method get percent between two values and textualize it

Return

percent value formatted e.g. +8% or -8% as String

Parameters

percent

: value to compute

decimalDigits

: number of digits to round final value


Method get percent between two values and textualize it

Return

percent value formatted e.g. +8% or -8% as String

Parameters

percent

: value to compute