Question and answer is powered by AnsPress.io
console.log(price); this.setState({price_cal:price});
I got the output result 1.333333 in my React native app. I want to set two decimal places so that I can get the value 1.33. How can I do it?