JSFiddle - React, Tailwind, and code Playground

HTML

1.23 - 1 = <span id="val"><span>

JavaScript

$('#val').text(1.23 - 1);