Skip to main content

Set decimal places in number variables

  • June 25, 2023
  • 33 replies
  • 6765 views

Show first post

33 replies

Emily5
  • New Member
  • December 3, 2024

please please! don’t pigeon hold it to two decimal spots, money isn’t the only integer this is useful for


Virginie_Douay

Pleassse! The countdown looks weird when the number is under 10, i wish i had “09” display instead of " 9" ❣️


Arvid
  • Active Member
  • February 11, 2025

Currently the feature is only of very limited use in prototyping without this option :(


Sergey Verbenko

I also needed to use one decimal place because it was for temperature, and the format 22.50° didn't look very good. I still made a prototype, though it looks a bit complicated)). I created two variables for the temperature and the digit after the decimal point. And for the "+" button, I made conditions like on image.

 


Mila_Sevilla
  • New Member
  • March 13, 2025

I think I might have found a workaround, at least for showing “0.00”. So the trick is to not set the variable to 0.00 but to 0.001. It will turn into “0” in the variables panel but in the prototype it shows me “0.00” 

 


Fernando Vera

I think I might have found a workaround, at least for showing “0.00”. So the trick is to not set the variable to 0.00 but to 0.001. It will turn into “0” in the variables panel but in the prototype it shows me “0.00” 

 


This worked like a charm.


Terry Burris
  • New Member
  • April 1, 2025

I think I might have found a workaround, at least for showing “0.00”. So the trick is to not set the variable to 0.00 but to 0.001. It will turn into “0” in the variables panel but in the prototype it shows me “0.00” 

 

This works for me as well! However, only for $0.00.

If you are trying with other amounts, like $400, it doesn’t work. Hopefully Figma will release something soon for this, this year.

UPDATE
Just tried again for the 400 value, and it worked fine. I take back what I said :)


Julia_Shlyapnikova

+1 Need this desperately. Please?