If I do
require "bigdecimal"
"%60.50f" % [BigDecimal("1") / BigDecimal("3")]
=> " 0.33333333333333331482961625624739099293947219848633"
Is it possible to print out the result to any length with all 3s at the end? (That is 0.333333333333... to any length?)