--TEST--
Twig compiles floats properly
--CONDITION--
version_compare(phpversion(), '7.0.0', '>=')
--TEMPLATE--
{% set val2 = 0.0 %}

{{ val is same as (0.0) ? 'Yes' : 'No' }}
{{ val2 is same as (0.0) ? 'Yes' : 'No' }}
{{ val is same as (val2) ? 'Yes' : 'No' }}
--DATA--
return ['val' => 0.0]
--EXPECT--
Yes
Yes
Yes
