Copy link to clipboard
Copied
I display a lot of pricing data on my youtube channel. And I recently discovered that you can import a CSV of data and it will change the text boxes based on that data supplied.
The issue that I'm running into is that the prices are missing trailing zeros.
For example 237.50 will be imported as 237.5 and there is no way to just add that zero.
How can I make sure that that trailing zero is present ?
I had tried to use the toFixed() expression but it's telling me that it's not a valid function (I'm guessing this is because the source text is coming from the CSV.)
You might have to do:
parseFloat(link_to_your_number).toFixed(2)
Copy link to clipboard
Copied
You might have to do:
parseFloat(link_to_your_number).toFixed(2)
Copy link to clipboard
Copied
Much appreciated! thank you