class Float
Public Class Methods
round_digits()
click to toggle source
# File lib/treyja/exe.rb, line 12 def self.round_digits @round_digits end
Public Instance Methods
to_s_with_round()
click to toggle source
# File lib/treyja/exe.rb, line 16 def to_s_with_round Float.round_digits ? self.round(Float.round_digits).to_s_without_round : self.to_s_without_round end
Also aliased as: to_s