@revolugo/common 7.11.1-alpha.56 → 7.11.1-alpha.58

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.1-alpha.56",
3
+ "version": "7.11.1-alpha.58",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -192,6 +192,12 @@ export class MoneyCalculator {
192
192
  return this
193
193
  }
194
194
 
195
+ public removeMarkup(percentage: number): this {
196
+ this.amount *= 1 - percentage
197
+
198
+ return this
199
+ }
200
+
195
201
  public round(): this {
196
202
  this.amount = Math.round(this.amount)
197
203