mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-12 09:09:45 +01:00
17 lines
291 B
PHP
17 lines
291 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Psl\Tests\Str;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Psl\Str;
|
|
|
|
class FormatNumberTest extends TestCase
|
|
{
|
|
public function testFormatNumber(): void
|
|
{
|
|
self::assertSame('487 891,49', Str\format_number(487891.4879, 2, ',', ' '));
|
|
}
|
|
}
|