parsing rubyformat numbers