mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
9 lines
238 B
PHP
9 lines
238 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
assert(class_exists(NumberFormatter::class));
|
|
assert(function_exists('locale_get_default'));
|
|
$fmt = new NumberFormatter('de-DE', NumberFormatter::DECIMAL);
|
|
assert(strval($fmt->parse('1.100')) === '1100');
|