Bug in FileMaker 14.0.5:
1. Create a number field.
2. Create a script with the "Set Field" script step. Specify your number field for this script step.
3. Try editing the calculation for this script step. The bottom of the calculation says "Calculation result must be text". It should say NUMBER, not TEXT.