You are here

function Currency::roundAmount in Currency 7.2

Rounds an amount.

Parameters

string $amount: A numeric string.

Return value

string A numeric string.

File

currency/includes/Currency.inc, line 104
Contains class Currency.

Class

Currency
Describes a currency.

Code

function roundAmount($amount) {
  return currency_round($amount, $this
    ->getRoundingStep());
}