Passing value to textbox problem

Hey guys. I’m having a small problem passing a value to a text box. I have an Html Slider that pushes a number to my Wix page. I have no problem showing that value in a textbox (#textA). But if I try to manipulate it (multiply it by 2 in this case) and push it to another textbox (#textB) i get an error. Could someone tell me what I’m doing wrong?

$w(“#htmlSlider”).onMessage( (event) => {
var SliderValue = event.data;
var USDValue = SliderValue*2;

$w(‘#textA’).text = SliderValue;
$w(‘#textB’).text = USDValue;

console.log(SliderValue);
console.log(USDValue);
});

figured it out… just needed to push it to a string