Decide whether your project allows negative values
Choose the numerical policy required by your economy.
Optional extension. It is not required to complete the core path.
Goal: Choose the numerical policy required by your economy.
Before you start: A practice copy and a record of the current Idle Mode setting.
Optional extension. Finish the core path first, then return when you need this capability.
The idea you will use
Policy controls admitted values; formatting controls appearance. Idle does not turn values into integers.
Predict before running
With Idle enabled, are 0, 0.25 and 1.25 treated alike?
Build and check
The numeric policy determines which values the project accepts. It is independent of formatting: showing two decimal places does not change the stored value. Idle Mode is a global option; it is not a formatter setting or a property of a particular number.
- Note the current state of Idle Mode Enabled so you can restore it when finished. Stop Play and open Edit → Project Settings → Scientific Number Settings → Behavior.
- Turn off Idle Mode Enabled, save the configuration, and restart the editor.
- In BP_MiNumero, test Make Scientific Number with Base -2, 0.25, and 0, each with Exponent 0. Check each result with Is Success and Branch; use Get Error → Print Scientific Number Error for the failure.
- Stop Play, turn on Idle Mode Enabled, save, and restart the editor. Repeat exactly the same inputs.
| Input | Idle Mode disabled | Idle Mode enabled |
|---|---|---|
| -2 | Valid | Invalid Input |
| 0.25 | Valid | Underflow |
| 0 | Valid | Valid |
- Restore the configuration you noted and restart before continuing with the other exercises.
What this means: Idle Mode rejects negative values and positive values below one. It accepts zero and values from one upwards, including decimals such as 1.25. A negative exponent represents a small scale; it does not mean the number is negative. Idle Mode is enabled by default; disable it if your game needs negative values or positive values below one.
When finished: choose the policy based on the values your game needs. Enabling Idle Mode does not turn numbers into integers or change their format.
Check your reasoning
See the explanation
No. Zero is valid; 0.25 produces Underflow; 1.25 is allowed. Restore the original setting afterwards.
Your turn: Write down two values your game needs and choose a policy that admits them.
Ready to continue when: you can explain the choice and have restored the practice configuration.
Progress is saved only in this browser and carries over when you switch language.