Method: EffectiveCpdStatement#round_amount

Defined in:
app/models/concerns/effective_cpd_statement.rb

#round_amount(amount) ⇒ Decimal

This method is used in CpdScore#score so it can be overridden to provide a custom round score calculation. Any model that is a statement can override this method to provide a custom round score calculation.

Parameters:

  • amount (Decimal)

Returns:

  • (Decimal)

    rounded decimal



166
167
168
# File 'app/models/concerns/effective_cpd_statement.rb', line 166

def round_amount(amount)
  return amount
end