Wh (Eg: 4.44): | |
V (Eg: 3.7): | |
mAh: | |
Formula: mAh = Wh * 1000 / V
<script type="text/javascript">
<script type="text/javascript">
function convertWhtomAh()
{
var WhValue = document.getElementById('convertWh').value;
var VValue= document.getElementById('convertV').value;
var result = (WhValue * 1000) / VValue;
void(document.getElementById('convertmAh').value = result);
}
</script>
You may want to check the math
ReplyDeleteSeems correct - What problems are you having?
DeleteThe example numbers give 1200, which is correct.
Thanks, exactly what I needed
ReplyDelete