Posts by Diogo Krejci • 11 points
1 post
-
1
votes3
answers847
viewsA: Conversion of a variable with replace to decimal
Your method is returning whole because you have not defined the culture. The Brazilian standard is "," Soon, if you pass "." the function will not recognize and return 5 Examples: var valor =…