We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15431c5 commit df30b7dCopy full SHA for df30b7d
src/web/js/output-ui.js
@@ -1429,7 +1429,10 @@
1429
});
1430
} else if (jsnums.isRoughnum(num)) {
1431
ariaText = num.n.toString() + ', roughly';
1432
- outText = $('<span>').addClass('replTextOutput roughNumber').text(num.toString());
+ var roughnumStr = num.toString().slice(1);
1433
+ outText = $('<span>').addClass('replTextOutput roughNumber');
1434
+ outText.append($('<span>').addClass('cm-roughnum-start').text('~'));
1435
+ outText.append($('<span>').addClass('cm-roughnum').text(roughnumStr));
1436
} else {
1437
ariaText = num.toString();
1438
outText = renderText(sooper(renderers, "number", num));
0 commit comments