Here is my PHP code:
$kg= 75.20283619791667;
$lbs = sprintf("%.1f",$kg*2.20462);
// $lbs should equal 165.8
What is the equivalent in JavaScript if I start with:
var kg=75.20283619791667;
var lbs=2.20462*kg;
And I want to end with 165.8
as in the PHP example.