Streaming live at 10am (PST)

Unwanted rounding of numbers


#1

Hi,

I have a problem with decimal numbers in the Webflow CMS.
Even though I specified the number with double precision (1.00) Webflow rounds it up.
So for example 9.99 is automatically rounded to 10.0 which is especially unwanted when defining prices.

Does anyone have a clue why is it like that?
Any workaround?

Best regards,
Dule


#2

Hey!

It looks like you have set a precision set to 1.0 on Designer Canvas, while having 1.00 precision set on Collection.

What I recommend is for the Preis on the website to change precision to 1.00. See animation below and notice what happens when I change precision from 1.0 to 1.00 :slight_smile:

Let me know if that helps and if not, make sure to post share link (How to enable Share Link)

Cheers,
Bart


#3

Hi Bart,

Yes! You were right! I forgot to set the value to "default" in the designer!
Now everything works perfectly!

Thank you!

Best regards,
Dule


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.