Language Basics Ruby

puts '%f' % 1234.567   # => '1234.567000': full-length floating-point numbers