Skip to main content
Wawa
New Participant
Jun 25, 2023 11:49 PM UTC

Set decimal places in number variables

Currently you can set things like, 5.99 or 4.32 but you can’t show 5.00 by default.

This looks weird when you start adding amounts like #amount + 0.5 which will then look like $5, $5.50, $6, $6.50. It would be nice if instead it showed as $5.00, $5.50, $6.00, $6.50

35 replies

Jun 27, 2023 1:30 AM UTC

ye I think a lot of users are using this feature to update their “CART” in terms of subtotal. A support of 2 decimal points would be great

victoria.souza
Jun 27, 2023 1:59 PM UTC

I have almost the same issue, but I’d like to show temperatures with 1 decimal point, like 16.5ºC, but it only shows 16.50, it looks weird in this context.

Ee_Yern_Ng1
New Member
Jul 7, 2023 1:59 PM UTC

Yes please 🙂 We would all benefit greatly from having decimal places for whole numbers. Especially when talking money, $5.00 reads better than $5

David_Morris
Jul 14, 2023 1:34 PM UTC

+1!

If no decimal is in the variable it shows an integer…
If there’s one decimal in the variable it always shows two decimal places. I would like to pick! 😇

Marcus_Harvey
New Participant
Aug 18, 2023 3:47 AM UTC

Same here.

I was trying to prototype a number picker with 0.5 increments/decrements and have given up. This on top of Figma switching out the font when you link a text layer to a variable 🤦🏼‍♂️

Please add the ability to pick the number of decimal places pronto.

Michael_Hobson
Aug 23, 2023 10:18 AM UTC

+1 for this request! Considering most people will use number variables for things like pricing, we need a way to set the default format. Something like what you can do in Excel for example:

Sep 25, 2023 11:05 PM UTC

@victoria.souza have you been able to figure a work around this? I’m currently designing a counter and I also just need a single decimal point output. Thx! 🙂

victoria.souza
Sep 26, 2023 11:37 AM UTC

I didn’t 😦 best I could do was transforming texts into outlines and applying the same logic I would if I was dealing with variable images. This way it also doesn’t mess up my custom fonts (which is another bug in this feature!). If you think this could help you, give it a try!

Oct 2, 2023 9:43 PM UTC

Thanks @victoria.souza , unfortunately as soon as the text is transformed to outlines, it renders the ability of using number variables useless…

Customization of number of float numbers allowed while using conditionals. Two decimals won’t always satisfy design needs of specific industries.

Terry_Burris
Oct 13, 2023 3:18 PM UTC

I agree with this idea as well. Not only that, but also when having numbers over 999.99 for dollar amounts. Once 1,000 is hit, the comma is not included in this either. Making number variables helpful to calculate the next amount, but unfortunately not for displaying purposes.