no need to quote view keys anymore, yay
add 0 to float in case it's undef or an empty string