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.
Thanks for clarification @Agnius
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! 🙌
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.
Hi @speedhb90
But PAD works with decimals with dot, see below
For converting the comma to dot, use replace action to replace the comma with dots like below
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! 🙌
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2