This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Changing negative value to zero
#1
Hi,

I have a variable that can range from 40...-10 and I'd like to make a script with the FB editor that checks if the value goes to below zero, and when it does I'll rewrite it to 0. I tried using the 'less than' block comparing the value to 0 but with no luck. Is there any easy IF type of block I could import to the fb editor or any other suggestions how to go around?
Reply


Messages In This Thread
Changing negative value to zero - by RagingBull - 02.06.2021, 04:30

Forum Jump: