Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 99:
txt.value = txt.value.replace(/(\d)\-per ?cent([^aei])/gi, '$1%$2');
// Add a space before dB
txt.value = txt.value.replace(/(\d)\s?(dB
// Add a space before several units that were missed before
Line 116:
txt.value = txt.value.replace(/m(bit|B)\/s/g, 'M$1/s');
txt.value = txt.value.replace(/g(bit|B)\/s/g, 'G$1/s');
// Common error
|