It worked! Thank you for letting me know about this </> format.
One more thing that I didnt mention I want to add is:
If the dropdown menu value is 5 change to “_”: 1_000
If the dropdown menu value is 6 change to ” “: 1 000
How the expression looks like?
You can test with this:
var num = Math.floor(effect("Slider Control")("Slider").value);
var menu = effect("Dropdown Menu Control")("Menu").value;
var mySep = menu == 3 || menu == 4 ? "," : ".";
num = Comma(num,mySep);