Fixed typo
Num to double conversions