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 Automate / Change from dot to comma
Power Automate
Unanswered

Change from dot to comma

(0) ShareShare
ReportReport
Posted on by 26

I have to pass a variable with decimals from power automate desktop to a powershell script, the problem is that PAD works decimals with comma and powershell works decimals with point, what can I do before passing the variable with the decimal number to powershell to convert the comma into a point?

 

Thank you very much for your time.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @speedhb90 

     

    But PAD works with decimals with dot, see below

     

    Nived_Nambiar_0-1692760120028.png

     

     

    For converting the comma to dot,  use replace action to replace the comma with dots like below

     

    Nived_Nambiar_1-1692760283095.png

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The decimal separator that PAD uses depends on your regional settings on your machine. So, it might work for you, but might not work for someone else. PowerShell does expect a dot as a decimal separator regardless of the regional settings.

     

    Using Replace text is the best bet here.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Thanks for clarification @Agnius

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

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 Automate

#1
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard