Jump to content
  • 0

Closed interval


Platonic

Question

Im not able to get the closed interval. 

test = string.format("%6.2f", "30")
test1 = string.format("%6.2f", "40")
gg.searchNumber(test ~ test1, gg.TYPE_DOUBLE)

I don't really understand why. Instead its going to do a bitwise xor on the variables values.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

15 minutes ago, YeetMeister said:

dont know what your up to bud,

 

you trying to hide the values from Gameguardian shtuff?

Normally to have the closed interval between two values i do this:

gg.searchNumber("30 ~ 40", gg.TYPE_DOUBLE)

But in this case i only want the values visible that have two decimal digits of the fraction. But in stead of searching closed interval its doing the actual bitwise Xor operation.

so its searching 54.0 double instead of the formatted 30 ~ 40

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.