cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pracmt1515
Frequent Visitor

Change coma to dot for decimal separator

I have conceted an excel file to the Power APP database, In the app the people can put the duration of each operation, the problem is that sometimes when the poeple put de duration the excel file dosent recognize the decimal separator and instead of for example putting 0.33 puts it 3333333333

 

pracmt1515_0-1627493126906.png

This is how the people puts the Duration 

 

and this is the formula i have

Value(Round(('Fecha Fin_DataCard5_19'.Update - 'Fecha Inicio_DataCard6_19'.Update)*24;2);"es-ES")

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @pracmt1515,

Based on the issue that you mentioned, do you want to format the duration using a dot?

Could you please share a bit more about your scenario?

Actually, the decimal separator in your region is indeed a comma rather than a dot. If you want to change it, you could use the Substitute function to replace ',' to '.'.

Substitute(Text(Value(Round(('Fecha Fin_DataCard5_19'.Update - 'Fecha Inicio_DataCard6_19'.Update)*24;2);"es-ES"));",";".")

Or you could use the Text() function.

Text(Value(Round(('Fecha Fin_DataCard5_19'.Update - 'Fecha Inicio_DataCard6_19'.Update)*24;2);"es-ES");"[$-en-US]##.#";"en-US")

 

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @pracmt1515,

Based on the issue that you mentioned, do you want to format the duration using a dot?

Could you please share a bit more about your scenario?

Actually, the decimal separator in your region is indeed a comma rather than a dot. If you want to change it, you could use the Substitute function to replace ',' to '.'.

Substitute(Text(Value(Round(('Fecha Fin_DataCard5_19'.Update - 'Fecha Inicio_DataCard6_19'.Update)*24;2);"es-ES"));",";".")

Or you could use the Text() function.

Text(Value(Round(('Fecha Fin_DataCard5_19'.Update - 'Fecha Inicio_DataCard6_19'.Update)*24;2);"es-ES");"[$-en-US]##.#";"en-US")

 

Best Regards,
Qi

View solution in original post

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,626)