<?php $arr = ['myKey' => null]; var_dump($arr['myKey'] === null ? null : (float)$arr['myKey']);
You have javascript disabled. You will not be able to edit any code.