Type conversion: Approach 1
<? $dog_count = intval (strval (doubleval("101 Dalmatians"))); echo ($dog_count); ?>