diff --git a/src/Russian/MoneySpeller.php b/src/Russian/MoneySpeller.php index 3ceba42..12aea45 100644 --- a/src/Russian/MoneySpeller.php +++ b/src/Russian/MoneySpeller.php @@ -50,7 +50,7 @@ public static function spell( $integer = (int)floor($value); $fractional = fmod($value, $integer); $fractional = round($fractional, 2); - $fractional = (int)($fractional * 100); + $fractional = (int)round($fractional * 100); switch ($format) { case static::SHORT_FORMAT: