2 titik desimal bereaksi asli

var value = 10;
value = value.toFixed(2);
this.setState({subTotal: value});
Lokesh003