Find index by given value

Hello -
Any trick using node solution ( no python or c++)
to receive index value of a sample if equal to some value ?.

if value in channel
print channel.index(value)

Thanks !

Update :
I chose solution close to this,
offered by Jean-François Renaud, for now :

For an Int value, plug channel into Logic CHOP (at a non Time Slice mode), and with “Off when outside bounds” set lower and upper bounds to catch the value. Then plug into Analyze CHOP and look for First Peak Index. Or Sort CHOP to find all index.

Parse floats into a Math CHOP before : multiply by a large number (1000000), and then, integer them.

I’d offer a similar solution, but don’t follow the last part of multiplying by a large number and integer them.
Are you trying to round to a specific number of digits?
If so, isn’t that covered by the upper and lower bounds in the Logic CHOP ?

I will take a look again,
I think i had issues because of the float
the numbers are like 0.06691
0.00001 accuracy …