web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formula Column and Con...
Power Apps
Unanswered

Formula Column and Converting Decimals to Text

(1) ShareShare
ReportReport
Posted on by 4
Hi, I am attempting to concatenate text in a formula column to create a dynamic google maps link. When I attempt to convert a decimal (latitude or longitude values) to text, I'm not able to use a decimal in the formatting. Any workarounds here? It is requiring a formatting argument when using Text().
Screenshot 2024-12-19 110156.png
  • KT-07052127-0 Profile Picture
    15 on at
    From Learn: The Text and Value functions only work
    with whole numbers, where no decimal separator is involved. The decimal
    separator varies across locales. Since formula columns are evaluated
    without locale knowledge, there's no way to properly interpret or
    generate the decimal separator.

    I'd use Power Automate to do the conversion.  
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    You can try extracting the integer potion and the decimal portion to get the text values then concatenate them.
    I have not tested this.
    For the integer portion Trunc(12345.3454) should work
    for the decimal portion where 234.23 would be the latitude or longitude
    (234.23 - Trunc(234.23)) * 100
     This would produce 23.00 thus giving you the decimal portion
    The factor that you multiply by would depend on the precision in your values and you can then concatenate the period back in
     
    Hope this can help to point you in the right direction 
     
     
     
    Give me a like if helpful
  • Joshua Wollberg Profile Picture
    4 on at
    Thanks for the help!
     
    I attempted the solution ronaldwalcott recommended and it was so close to working. Unfortunately, if there are any leading zeroes in the decimal, it does not convert accurately (they get dropped).
     
     
    There is probably a way around this I haven't considered, but I will be using power automate to achieve this for now.

    Thanks again!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard