diff --git a/src/tidal/service.ts b/src/tidal/service.ts index 6e95fcf..4da9181 100644 --- a/src/tidal/service.ts +++ b/src/tidal/service.ts @@ -51,7 +51,7 @@ export class TidalService extends BaseService { } async setVolume(argument: string): Promise> { - const value = this.percentageToDecimal(parseFloat(argument)); + const value = this.percentageToDecimal(parseInt(argument, 10)); // relative const adjustMatch = argument.match(/^([+-])/); if (adjustMatch) {