removeGST method
Removes GST from the reactive double.
Example:
final price = swift(110.0);
price.removeGST(10); // price.value is now 100.0
Implementation
void removeGST(double percent) {
value = value / (1 + percent / 100);
}
Removes GST from the reactive double.
Example:
final price = swift(110.0);
price.removeGST(10); // price.value is now 100.0
void removeGST(double percent) {
value = value / (1 + percent / 100);
}