数値を 100 で割り、100 を掛けて元の値に戻します。ただし、一部の戻り値は少しずれています。
var num = 57,
num = num / 100,
// this should return the number to the original
// however in this example it returns 56.99999999999999
num = num * 100;
ここにフィドルがあります:http://jsfiddle.net/njsdW/
実際には、数字の前に 2 つの 0 を追加したいだけですが、小数点がどこにあるかは常にわかりません。
編集:私の解決策:
var num = 57,
num = (parseFloat((num / 100).toPrecision(15)));
// this should return the number to the original
num = (parseFloat((num * 100).toPrecision(15)));