6 lines
85 B
PHP
6 lines
85 B
PHP
<?php
|
|
$nb = bcsub(1.234, 5, 4);
|
|
if (preg_match('/^-/', $nb)) {
|
|
echo 'minus';
|
|
}
|
|
?>
|