Uncle
Warcraft Moderator
- Joined
- Aug 10, 2018
- Messages
- 6,539
I'm a bit confused, everything was working just earlier today and now suddenly my numbers stopped rounding.
This still works for whatever reason:
This still works for whatever reason:
-
Untitled Trigger 001
- Events
- Conditions
-
Actions
- Set tempReal = (0.50 + ((Real(ShopTotalItems[ShopTracker])) / (Real(ShopItemsPerPage[ShopTracker]))))
- Set ShopMaxPages[ShopTracker] = (Integer(tempReal))
-
Untitled Trigger 002
- Events
- Conditions
-
Actions
- Set CategoryTotalItems[unitCustomValue] = (1 + (CategoryEndRange[unitCustomValue] - CategoryStartRange[unitCustomValue]))
- Set tempReal = (0.50 + ((Real(CategoryTotalItems[unitCustomValue])) / (Real(ShopItemsPerPage[unitCustomValue]))))
- Set ShopMaxPages[unitCustomValue] = (Integer(tempReal))
Last edited: