2 decimal places in my plan

Hi,
I am building my website through wix (I’ve not done any code before - I’m a complete novice) and I want my yearly plan to show £69.90 but it’s only showing £69.9.
Is there a way to make it show 2 decimal places?
I tried
let x = parseFloat ( ‘Price’ ).toFixed( 2 );
Which I found online but it isn’t working. Any ideas?
Thanks so much in advance!

Please elaborate more on where and how you are using it.

Do you mean through Wix Pricing Plans app as shown here.
https://support.wix.com/en/article/about-pricing-plans

Hello TeaTime,

take a look here, perhaps it helps you…
https://russian-dima.wixsite.com/meinewebsite
sorry wrong link, here the right one…
https://russian-dima.wixsite.com/meinewebsite/blank

Thanks for replying. Yes exactly, in the pricing plan app.

Thanks, I’ll take a look

Any ideas?

Sorry I’m not realy sure how that works?

I think “parseFloat” will not work in this case.
£69.90 —> impossible —> NaN (using parseFloat)
69.90£ —> possible -------> 69.9 (using parseFloat)
69.90£ —> possible -------> 69.90 (using parseFloat + toFixed( 2 ))

That means that the currency has to be the last character.

What about to cut the " £" out and after the calculation & parsing put it back to place?

Sorry I’m a complete beginner with code (literally never done it before today!). I’ve just used the wix app to create a plan - what do I need to type in to the box at the bottom?

This is always exactly the problem when using a “Ready-2-Go” template / app.

You will always reach a point where you cannot change it as desired.

I’m not sure how to solve it because I don’t work with paid plans or other apps because they’re not flexible enough.

Maybe GOS can help you.

I always have to see the project to find a solution (if there is a way).

Ah, no worries, thank you so much for your help anyway. I really appreciate it. Hopefully I can move onto coding in the future