Flow to control Google Chromecast volume with Ikea rotating dimmer


I can control the volume of my chromecast speakers in flows with a percentage of 0-100%.
The Ikea dimmer is giving a Value between 0 and 1.

How can I map these two values to eachother. Tried sommering with variabelen and math, but did not succeed yet.

Gr. Remco

To get help, show the (not working) flows you made.

In a logic card you can calculate by {{variable/100}}
as an example for calculating momentary avrage:

I created this post about a volume button a long time ago.
Hope ot helps