julik/ru_propisju — pull request #12 by fl00r (2014-04-13 16:08:40+00:00)
Title: float parsing fix

```ruby
num = 30.0
("%0.#{13}g" % num).gsub(/0+$/, "")
#=> 3
num = 3 * 10**10
("%0.#{13}g" % num).gsub(/0+$/, "")
#=> 3
num = 3 * 10**12 + 0.1111111
("%0.#{13}g" % num).gsub(/0+$/, "")
#=> 3
num = 3 * 10**11 + 0.1111111
("%0.#{13}g" % num).gsub(/0+$/, "")
#=> 300000000000.1
```