TIMOB-15734: Move isNull() check after isFloat() so we error out appropriately

https://jira.appcelerator.org/browse/TIMOB-15734

Test case in Jira.  As a part of the test, please also run https://jira.appcelerator.org/browse/TIMOB-14521 since it was a regression caused by this.