I got a minor brain-teaser thats keep bothering me. I'm unable to control the numbers of decimals written by my scripts.
HTML
<script type="text/JavaScript">
<!--
document.write($tekn_2_2/$tekn_2_1)
//-->
</script>
JS
$tekn_2_1 = "28"
$tekn_2_2 = "7600"
I want this to return the value '271' instead of '271.42857142857144'. I apologize, I'm aware that this should be a small case, but I can get anything to work.