# Comparative math.

• Hi guys, I have a question looking forward to getting answered

I have a sequence of numbers from A0 = 0, A1 = 1, ... A100 = 100 .. And a variable X.
When X = 60, how do I know if X is less than A61, A62 ... A100?
Thank you very much.

• @phamtracanh said in Comparative math.:

Hi guys, I have a question looking forward to getting answered

I have a sequence of numbers from A0 = 0, A1 = 1, ... A100 = 100 .. And a variable X.
When X = 60, how do I know if X is less than A61, A62 ... A100?
Thank you very much.

Create a test script, from your description it is unclear what you need

• @Fox said in Comparative math.:

@phamtracanh said in Comparative math.:

Hi guys, I have a question looking forward to getting answered

I have a sequence of numbers from A0 = 0, A1 = 1, ... A100 = 100 .. And a variable X.
When X = 60, how do I know if X is less than A61, A62 ... A100?
Thank you very much.

Create a test script, from your description it is unclear what you need

I don't know what to do.
I will try to explain more clearly.
Input:
Number sequence 0,1,2,3 ... 100.
And a variable X.
Output:

• If X <100: Log "100".
• If X <99: Log 100 and Log 99
• If X <98: Log 100, log 99 and log 88.
..........
When X comes out, I want to know for sure which integer it is smaller. I will then execute the Log action.
Thank you.

• @phamtracanh said in Comparative math.:

@Fox said in Comparative math.:

@phamtracanh said in Comparative math.:

Hi guys, I have a question looking forward to getting answered

I have a sequence of numbers from A0 = 0, A1 = 1, ... A100 = 100 .. And a variable X.
When X = 60, how do I know if X is less than A61, A62 ... A100?
Thank you very much.

Create a test script, from your description it is unclear what you need

I don't know what to do.
I will try to explain more clearly.
Input:
Number sequence 0,1,2,3 ... 100.
And a variable X.
Output:

• If X <100: Log "100".
• If X <99: Log 100 and Log 99
• If X <98: Log 100, log 99 and log 88.
..........
When X comes out, I want to know for sure which integer it is smaller. I will then execute the Log action.
Thank you.

I still don't understand you. What initial problem are you trying to solve in this way?

2

2

3

1

1

1

4

3