Fix tests.

This commit is contained in:
James Cole
2017-11-22 20:30:23 +01:00
parent 3cb3c7f60f
commit 4e6b782204
4 changed files with 6 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ class Amount implements ConverterInterface
Log::debug(sprintf('No decimal character found. Converted amount from "%s" to "%s".', $oldValue, $value));
}
$number = strval(number_format(round(floatval($value), 12), 12,'',''));
$number = strval(number_format(round(floatval($value), 12), 12,'.',''));
return $number;
}
}