Engineering notation no embed by nn

for(r='replace';[v,e]=readline().split('e');print(v[r](/\.?0*$/,'')))for(;e;)v=e<0?(0+v)[r](/(.)\./,'.$1',e++):(v+0)[r](/\.(.)/,'$1.',e--)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page