I want to display the input of % value. When I log this it showing properly but can't display in page.
Want to display the input of % value below the input section:

const [rcommission, setRcommission] = useState({
    aeps: "",
    matm: "",
});
let name,value;
const getRetailData = (event) => {
    name= event.target.name;
    value= event.target.value;
    setRcommission({ ...rcommission, [name]:value });
    let aeps = Number(value);
    aeps *= 0.03;
    let matm = Number(value);
    matm *= 0.04;
    if (name === 'aeps') {
        console.log(aeps);
    } else if (name === 'matm') {
        console.log(matm);
    }
};
this is the input sec-
<input name="aeps"
            type="number"
            value={rcommission.aeps}
            onChange={getRetailData}
            id="ContentPlaceHolder1_txtname"
            className="form-control"
            autoComplete="off"
            placeholder=" AEPS" />
            <div className="help-block with-errors"></div>
        </div>
        <span> {rcommission.aeps} </span>