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 / Value score with "," i...
Power Apps
Answered

Value score with "," instead "."

(0) ShareShare
ReportReport
Posted on by 37

How to solve this, the value of the variable is stored with "," instead of with "." due to different regional user settings,

depending on the user, I get the result with a comma or a period 93,33 instead 93.33, so it is not easy to calculate the average

the result of the quiz is kept in excel.

Thx

Categories:
I have the same question (0)
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @nenandi ,

     

    Based on the Language() function you can replace "," or "."

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @nenandi,

    Have you solved your problem?

    Do you want to format your number suing the dot rather than a comma?

    Could you please share a bit more about your scenario?

    Actually, since your users have different region settings, I think there is no need to change the region setting or something language function. We just need to format it before your calculation.

    Text(93,33,"[$-en-US]##.#","en-US")

    Or, you could use the Substitute.

    Substitute(93,33,",",".")

     

  • nenandi Profile Picture
    37 on at

    I have a variable Score (value 0), depending on the answer is added a certain value e.g 11.33 on Next button, I patch the variable Score in an Excel with button Finish.
    On some users regional settings in phone is different so score 93.33 patched 93,33 how to solve this
    I do some workaround all values multiple by 100 and divide in separate column in Excel by 100.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @nenandi,

    Have you tried my solution?

    If you patch data to excel table, I think only a General column could save the format changes through Power Apps.

    Whatever region your users are in, just make sure the following steps:

    1). Make sure the aimed column in Excel table is a General type

    2). Make sure the format change is operated at the last step

    For example, if you use the Patch(). please write it as below:

     

     

     

    Patch(Table1,Defaults(Table1),{Score:Text(Value(YourTextScore,"es-ES"),"[$-en-US]##.#","en-US")})

     

    Of course, if the formula could not make sense, please provide some screenshot to describe.

    Here is some edits I want to show you, I refer to a language tag "es-ES"  to format your text score number, so that we could format it using the dot.

    In addition, to avoid some users who are already in a region using the dot separator, the Substitute is not a good choice, so I deleted it.

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard