Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hail] Export VCF floats using %g formatter (#7745)
* [hail] Export VCF floats using %g formatter Fixes #6963 %e vs %g: ```scala scala> val big = 12345678910112d big: Double = 1.2345678910112E13 scala> val small = 0.0000000000123123 small: Double = 1.23123E-11 scala> val medium = 1.12345 medium: Double = 1.12345 scala> Array(big, small, medium).foreach { x => println(x.formatted("%.5e")) } 1.23457e+13 1.23123e-11 1.12345e+00 scala> Array(big, small, medium).foreach { x => println(x.formatted("%.6g")) } 1.23457e+13 1.23123e-11 1.12345 ``` * bump! * bump!
- Loading branch information