Skip to main content
Wawa
New Participant
June 25, 2023

Set decimal places in number variables

  • June 25, 2023
  • 35 replies
  • 7408 views

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

June 27, 2023

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
June 27, 2023

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
July 7, 2023

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
July 14, 2023

+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
August 18, 2023

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
August 23, 2023

+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:

September 25, 2023

@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
September 26, 2023

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!

October 2, 2023

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
October 13, 2023

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.