Hi all,

  Is there a direct method to get something like:

  var = sprintf("%.2f", 92.22312).to_f

  Thanks alot!

Difei
-- 
Posted via http://www.ruby-forum.com/.