Help

Extra Decimals When Displaying a Number in a String

Topic Labels: Formulas
Solved
Jump to Solution
127 3
cancel
Showing results for 
Search instead for 
Did you mean: 
chrisharper
5 - Automation Enthusiast
5 - Automation Enthusiast

I have a few currency fields that I am adding up in a simple formula field. I am then trying to display the output of that formula field within a text string I am building with another formula. However, I’m getting some strange decimals when showing the numbers.

In an effort to troubleshoot this, I create a new blank Airtable base for testing and I’m getting the same result. For no apparent reason (to me), when I reference the total field in the string, it will sometimes add a ton of decimal spaces, like this:
CleanShot 2025-01-02 at 17.05.50@2x.png

 

Here’s a link to my sample/testing base that is showing this issue: https://airtable.com/appqBYuTjL8QbhmF4/shrM4rk6GDRaJQ4QN

My formulas are pretty simple:

Total of Amounts 1 & 2: 

{Amount 1} + {Amount 2}

Display Total in a String: 

"The total of both amounts is $" & {Total of Amounts 1 & 2} & "."

 

I can’t figure out what might be causing this, especially when I manipulate the Amount 1 and Amount 2 values to reach the same sum, the decimals sometimes appear and sometimes don’t, such as in these examples:
CleanShot 2025-01-02 at 17.13.07@2x.png

Has anyone ever seen anything like this, and is there anything you suggest I do to my string formula to resolve it?

1 Solution

Accepted Solutions

Hey @chrisharper

Please the sum in the ROUND formula with position 3, see my screenshots below: 

 

Dimitris_Goudis_0-1735898588958.pngDimitris_Goudis_1-1735898601557.png

Thanks 

Dimitris Goudis

See Solution in Thread

3 Replies 3

Hey @chrisharper

Please the sum in the ROUND formula with position 3, see my screenshots below: 

 

Dimitris_Goudis_0-1735898588958.pngDimitris_Goudis_1-1735898601557.png

Thanks 

Dimitris Goudis

Thank you, @Dimitris_Goudis. Rounding seems to have solved the issue.

It still feels like unexpected behavior to me, as adding simple currency numbers with just two decimal places should display precise values and shouldn't need rounding. I also submitted this to Airtable Support in the event it might be a bug. 

UPDATE: Edgardo from Airtable Support responded to my ticket to say that the Airtable engineering team is investigating the issue. They don’t have a fix for it, but suggested @Dimitris_Goudis solution of using the ROUND() function as a workaround for now.