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
I have the same question (0)
  • 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,862 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard