RxIntExtensions extension
Extension methods for Rx<int> to support arithmetic and financial operations on reactive values.
Methods
-
add(
int value) → void -
Available on Rx<
Adds a value to the reactive integer and updates it.int> , provided by the RxIntExtensions extension -
addGST(
double percent) → void -
Available on Rx<
Adds GST to the reactive integer.int> , provided by the RxIntExtensions extension -
applyPercent(
double percent) → void -
Available on Rx<
Applies a percentage to the reactive integer (adds percentage).int> , provided by the RxIntExtensions extension -
discount(
double percent) → void -
Available on Rx<
Applies a discount percentage to the reactive integer (subtracts percentage).int> , provided by the RxIntExtensions extension -
mul(
int value) → void -
Available on Rx<
Multiplies the reactive integer by a value and updates it.int> , provided by the RxIntExtensions extension -
sub(
int value) → void -
Available on Rx<
Subtracts a value from the reactive integer and updates it.int> , provided by the RxIntExtensions extension -
tax(
double percent) → void -
Available on Rx<
Applies a tax percentage to the reactive integer (adds percentage).int> , provided by the RxIntExtensions extension