“ believe the elseif/else if statements only support up to 3 (if, elseif, else). ”
You might want to review your syntax. 0.0
Why is num coming as -3?