Hi @Francisco77 ,
In Power Apps, if you want to format a number to show only a single decimal place, you can use the Text function to format the number accordingly. Here's an example of how you can format a label to show a number with one decimal place:
Text(YourNumber, "0.0")
Replace YourNumber with the actual data source or field name that contains your number. When you set the Text property of the label to this formula, it will display the number rounded to one decimal place.
Here is how you might apply it in the context of your form:
- Select the label that displays the number.
- In the property pane on the right, find the Text property.
- Set the Text property of the label using the formula above.
For example, if the label is supposed to show the value of a field named TotalTarget, you would use:
Text(ThisItem.TotalTarget, "0.0")
This will ensure the label shows the number with only one decimal place, as requested.
If this solution resolves your issue, please consider marking it as accepted. ✅
Warm regards,
Muhammad Ali