mirror of
https://gh.wpcy.net/https://github.com/LJPc-solutions/freescout-calendar-module.git
synced 2026-07-16 18:59:53 +08:00
22 lines
No EOL
434 B
PHP
22 lines
No EOL
434 B
PHP
<?php
|
|
|
|
use Dallgoot\Yaml\Types\YamlObject;
|
|
|
|
$yaml = new YamlObject(0);
|
|
|
|
$yaml->positiveFloat = 0.5353;
|
|
$yaml->negativeFloat = -2.65;
|
|
|
|
$yaml->castedPositiveFloat = (float) 2.0;
|
|
$yaml->castedNegativeFloat = (float) -2;
|
|
|
|
$yaml->positiveExponentFloat = 2.3e4;
|
|
$yaml->negativeExponentFloat = 2.3e-3;
|
|
|
|
$yaml->positiveInfinity = INF;
|
|
$yaml->negativeInfinity = -INF;
|
|
|
|
$yaml->notANumber = NAN;//this has the PHP type 'double'
|
|
|
|
|
|
return $yaml; |