Mega Code Archive
Categories
/
Ruby
/
Language Basics
Exponential with uppercase E
puts '%E' % 1234.567 # => '1.234567e+03': exponential with uppercase E