```
render () {
  <input type="number" value={this.props.value} />
}
```

for example, when the original value is '.98', we need format it to '0.98'. but it is not  take effect。

```javascript
class Test extends React.Component {
 state = {
    value: '.98',
  }
 changeValue = () => {
    alert(0.98);
    this.setState({
      value: '0.98',
    });
  }

 render() {
    return <div>
      <input type="number" value={this.state.value} />
      <button onClick={this.changeValue}>changeValue</button>
    </div>;
  }
}

ReactDOM.render(<Test />, mountNode);
```



var tracker = inputValueTracking._getTrackerFromNode(elem);
    var current = tracker.getValue();
    elem.value = value;
    tracker.setValue(current);
  }
  beforeEach(() => {
    jest.resetModules();
    React = require('react');
    ReactDOM = require('react-dom');
    ReactDOMServer = require('react-dom/server');
    ReactDOMFeatureFlags = require('ReactDOMFeatureFlags');
    ReactTestUtils = require('ReactTestUtils');
    inputValueTracking = require('inputValueTracking');
    spyOn(console, 'error');
  });
  it('should properly control a value even if no event listener exists', () => {
    var container = document.createElement('div');
    var stub = ReactDOM.render(<input type="text" value="lion" />, container);
    document.body.appendChild(container);
    var node = ReactDOM.findDOMNode(stub);
    expectDev(console.error.calls.count()).toBe(1);
    
    setUntrackedValue(node, 'giraffe');
    
    
    var nativeEvent = document.createEvent('Event');
    nativeEvent.initEvent('change', true, true);
    node.dispatchEvent(nativeEvent);
    expect(node.value).toBe('lion');
    document.body.removeChild(container);