JSFiddle - React, Tailwind, and code Playground

by John Doe

HTML

<p></p>

JavaScript 1.7

var num = 0.1;
if( num > 0 ){
	$('p').text(num.toFixed(2));
}