Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 9 lines (8 sloc) 0.2 kB
4f9e1df @NZKoz Initial commit
NZKoz authored
1 require 'bigdecimal'
2
3 ["9E69999999", "1" * 10_000_000].each do |value|
4 begin
5 puts BigDecimal(value).to_s("F")
6 rescue => e
7 puts "Received an exception, this is fine: #{e.inspect}"
8 end
9 end
Something went wrong with that request. Please try again.