Posts by Davi Assumpcao • 25 points
2 posts
-
-1
votes2
answers47
viewsQ: Treat return parseint
I’m starting my Javascript study and came across a question that is to take the (monetary) value in an html class, treat and display the result without R$ in another html element. But it didn’t…
javascriptasked Davi Assumpcao 25 -
1
votes2
answers170
viewsQ: Convert a string in monetary format to number and subtract 90%
How can I convert a string to number and subtract 90%? I tried to make a code (below), but it returns the value 3205.5 and I’m not getting to know why. If I use the value R$ 320,50 works. var a =…