endtoend-test-psl/tests/Psl/Str/FormatNumberTest.php
2020-10-15 11:05:30 +02:00

17 lines
299 B
PHP

<?php
declare(strict_types=1);
namespace Psl\Tests\Str;
use PHPUnit\Framework\TestCase;
use Psl\Str;
final class FormatNumberTest extends TestCase
{
public function testFormatNumber(): void
{
static::assertSame('487 891,49', Str\format_number(487891.4879, 2, ',', ' '));
}
}