Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
957 views
in Power Apps by 16 16 22
Hello,

Iam using Canvas App and want to display a calculated field number with only 2 digits

for example if the number is 12.333534534  display only  12.33 how can I do this?

1 Answer

1 like 0 dislike
by 48 54 93
selected by
 
Best answer

Format Number in PowerApps

You can perform the Number format in PowerApps using the Text function and apply your format

Syntax

TEXT(Value you want to format, "Format code you want to apply")

In your case, you have to write

Text(YourNumber ,"#.##)

Example:

Text( 12.333232,"#.##")

Format Column Number in PowerApps

If your value comes dynamic from your data source you can use the below number:

Text( Value(YourColumnData),"#.##")

See Also

by 16 16 22
0 0
The link is very helpful thank you
If you don’t ask, the answer is always NO!
...