Issue
I have a string,
$string = "2,55"
How to convert this string to decimal?
Solution
In short -
[decimal]$string.Replace(",", ".")
Answered By - Vivek Kumar Singh Answer Checked By - Marilyn (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.