rem: var kRate = rate / 1024; var fraction = parseInt( ( kRate - ( kRate = parseInt( kRate ) ) ) * 10 + 0.5 ); return kRate + "." + fraction; 
add: return ( rate / 1024 ).toFixed(1); 
context:     rateToKRate: function( rate ) {         var kRate = rate / 1024; // KBytes/sec         var fraction = parseInt( ( kRate - ( kRate = parseInt( kRate ) ) ) * 10 + 0.5 );         return kRate + "." + fraction;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c808f6a602eb5a886d3d5f6062245b6d16587770/nsProgressDialog.js/clean/embedding/components/ui/progressDlg/nsProgressDialog.js