Subject: | exponential notation written in invalid form |
It appears that numbers with exponential notation are required to
contain a decimal point:
$ perl -MYAML::XS -e 'print Dump(1e-15)'
--- 1e-15
$ irb
irb(main):001:0> require 'yaml'
=> true
irb(main):002:0> YAML.load("--- 1e-15").class
=> String
irb(main):003:0> YAML.load("--- 1.0e-15").class
=> Float