Percentage Calculator |
And if you want to show into your site, then just paste the css in between the <style>and </style> and javascript code in between the <script> and </script>
Javascript Percentage Calculator
<style>Click Here for Demo
input{ height:20px; border-radius:5px; margin-top:10px;}
a{font-size:8px;} </style>
<script>
function myfunction()
{
var a=document.f1.first.value;
var b=document.f1.second.value;
var percent=(a/b)*100;
alert(percent+"%");
}
</script>
<form name="f1" onsubmit="myfunction()">
<strong>Real Value:</strong><input type="number" name="first"/><br />
<strong>Base Value:</strong><input type="number" name="second" /><br />
<input type="submit" name="btn" style="background:#00F; color:#FFF;" value="Get" />
</form>
<a href="http://allblogsolution.blogspot.com/2015/01/percentage-calculator-widget-for.html">Get Percentage Calculator Widget</a>
Get Percentage Calculator Widget Thank you and if you have any problem about blogger and blogging techniques, do not forget to comment in the comment box below.
Comments
Post a Comment
Any comment will be appreciated, comment will be published according to our comment policy