It is already integer.
All checks were successful
The build was successful.

This commit is contained in:
2019-03-27 09:45:02 +01:00
parent 14f958a4b2
commit d76e48c885

View File

@@ -1,7 +1,7 @@
class Program {
private string num2Roman(int $num) {
int $n = (int) $num;
int $n = $num;
string $result = '';
int[] $lookup = {'M' => 1000, 'CM' => 900, 'D' => 500, 'CD' => 400,
'C' => 100, 'XC' => 90, 'L' => 50, 'XL' => 40,