I would like to know how we can convert the following value to a percentage in javascript?
First Expected Output
Input Value : 0.03222772304422584
Expected Value: 0.03
Second Expected Output
Input Value : 0.03222772304422584
Expected Value: .03
Thanks in advance,
Kathir
No comments:
Post a Comment