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 / Problem inserting valu...
Power Apps
Suggested Answer

Problem inserting value in sql server

(1) ShareShare
ReportReport
Posted on by 1,030
good evening
 
in a power apps canvas application I try to insert a value with a comma in a table in sql server
Value(Concatenate(txtTaille.Text; ","; txtTailleExt.Text))
When I use a device with a French system language, the value is inserted correctly (for example 111,12) and if I use a device with English as the language, the value is inserted without a comma (11112)
 
How can I fix this problem?
I have the same question (0)
  • Suggested answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
    Hello
     
    Use the Text function to format the number with a specific locale:
    If(
        Language() = "en",
        Text(Value(Concatenate(txtTaille.Text, ".", txtTailleExt.Text)), "[$-en-US]0.00"),
        Language() = "fr",
        Text(Value(Concatenate(txtTaille.Text, ",", txtTailleExt.Text)), "[$-fr-FR]0.00")
        
    )
    This is what I get returned from English:
     
    Hope this helps. 
  • gikido Profile Picture
    1,030 on at
    @SpongYe 
     
    Text(....) gives error because the type in sql table is Float
  • Suggested answer
    SaiRT14 Profile Picture
    1,992 Super User 2025 Season 1 on at
    The issue you're experiencing is due to differences in decimal separators based on regional settings. In French, the comma is used as a decimal separator, while in English, a period is used.
    Value(Text(txtTaille.Text & "," & txtTailleExt.Text, "[$-fr-FR]Standard"))
     
    this should take care.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard