@revolugo/common 7.11.2-alpha.30 → 7.11.2-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/common",
3
- "version": "7.11.2-alpha.30",
3
+ "version": "7.11.2-alpha.31",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -193,7 +193,7 @@ export class MoneyCalculator {
193
193
  }
194
194
 
195
195
  public removeMarkup(percentage: number): this {
196
- this.amount *= 1 - percentage
196
+ this.amount -= this.amount * percentage
197
197
 
198
198
  return this
199
199
  }