web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 2hCiSrRl2U3H/RvWPU0NBo
Power Automate - Power Automate Desktop
Unanswered

Change from dot to comma

Like (0) ShareShare
ReportReport
Posted on 22 Aug 2023 15:07:50 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
    17,982 Super User 2025 Season 2 on 23 Aug 2023 at 09:07:16
    Re: Change from dot to comma

    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! 🙌

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on 23 Aug 2023 at 04:05:59
    Re: Change from dot to comma

    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
    17,982 Super User 2025 Season 2 on 23 Aug 2023 at 03:11:30
    Re: Change from dot to comma

    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! 🙌

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2