If statements not working?

Hello Developers!

Today I have stumbled among a weird issue / bug in my code where this if statement doesn’t work even when it should clearly work. I have no idea why this is happening?

The value called “InstanceValueString” = “120”

local Addup = tonumber(InstanceValueString)
print(Addup)
print(Addup > 70)

image

It seems like I didn’t pay attention to the negative in the value.
All solved, sorry.