Commit 12548894 authored by Koichi ITO's avatar Koichi ITO
Browse files

Fix invalid value for BigDecimal in Ruby 2.4.0+

parent d3a1a3de
......@@ -1429,7 +1429,7 @@ static VALUE onum_to_d_real(OCINumber *num, OCIError *errhp)
{
char buf[64];
ub4 buf_size = sizeof(buf);
const char *fmt = "FM9.99999999999999999999999999999999999999EEEE";
const char *fmt = "FM9.09999999999999999999999999999999999999EEEE";
if (!cBigDecimal) {
rb_require("bigdecimal");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment