JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://dl.dropbox.com/u/15842115/kendo.web.js"></script>
<table>
    <tr><td id="theCell"></td></tr>
</table>

CSS

td { border: 1px dotted gray; padding: .5em 1em; }

JavaScript

var cellText = "&mdash;";

cellText = kendo.toString(0.07796, "#.####");

$("#theCell").html(cellText);