RxDoubleExtensions extension
Extension methods for Rx<double> to support arithmetic and financial operations on reactive values.
Methods
-
add(
double value) → void -
Available on Rx<
Adds a value to the reactive double and updates it.double> , provided by the RxDoubleExtensions extension -
addGST(
double percent) → void -
Available on Rx<
Adds GST to the reactive double.double> , provided by the RxDoubleExtensions extension -
applyPercent(
double percent) → void -
Available on Rx<
Applies a percentage to the reactive double (adds percentage).double> , provided by the RxDoubleExtensions extension -
discount(
double percent) → void -
Available on Rx<
Applies a discount percentage to the reactive double (subtracts percentage).double> , provided by the RxDoubleExtensions extension -
mul(
double value) → void -
Available on Rx<
Multiplies the reactive double by a value and updates it.double> , provided by the RxDoubleExtensions extension -
removeGST(
double percent) → void -
Available on Rx<
Removes GST from the reactive double.double> , provided by the RxDoubleExtensions extension -
roundTo(
int decimals) → void -
Available on Rx<
Rounds the reactive double to a specified number of decimal places.double> , provided by the RxDoubleExtensions extension -
sub(
double value) → void -
Available on Rx<
Subtracts a value from the reactive double and updates it.double> , provided by the RxDoubleExtensions extension -
tax(
double percent) → void -
Available on Rx<
Applies a tax percentage to the reactive double (adds percentage).double> , provided by the RxDoubleExtensions extension