YusufA
(Yusuf Aydin)
December 27, 2023, 7:02pm
1
Hi guys,
basically I have a pricing info like on this site: Untitled
Under “Finanzierung” where it says 0,00 € I want to show a monthly financing rate that is generated through a calculation based on the given price.
How can I achieve that?
Here is my site Read-Only: Webflow - Boventa
memetican
(Michael Wells)
December 27, 2023, 7:32pm
2
If the calculation only requires information in you have in the page, you can code it using client-side Javascript.
To format it as Euros, use JS’s Intl.NumberFormat
-
const number = 1234.56;
const formattedNumber = new Intl.NumberFormat('de-DE',
{ style: 'currency', currency: 'EUR' }
).format(number);
YusufA
(Yusuf Aydin)
December 27, 2023, 7:44pm
3
Hi Michael, sorry I can’t write Javascript.
Let’s say I just want to divide the given price by 2, could you give me an example for what code I have to use for that? I would then modify that to fit my math formula in it.