Kiss A simpler, smarter web application framework for Ruby

Kiss::Format::Decimal Subclass of Kiss::Format::Integer

Methods

Public Class Methods

parse(value) source

Not documented

    # File lib/kiss/format.rb, line 80
        def parse(value)
          value.to_f
        end
    
value_to_s(value) source

Not documented

    # File lib/kiss/format.rb, line 84
        def value_to_s(value)
          # add commas for thousands, to integer part only
          value.format_thousands
        end
    

Disabled; run with $DEBUG to generate this.