Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(unscaledValue: number, scale = 0) {
Guard.isTruthy(Utils.isInt(unscaledValue), 'unscaledValue must be an int');
Guard.isTruthy(Utils.isInt(scale), 'scale must be an int');
this._unscaledValue = unscaledValue;
this._scale = scale;
}
constructor(unscaledValue: number, scale = 0) {
Guard.isTruthy(Utils.isInt(unscaledValue), 'unscaledValue must be an int');
Guard.isTruthy(Utils.isInt(scale), 'scale must be an int');
this._unscaledValue = unscaledValue;
this._scale = scale;
}