Skip to content
Prev 31905 / 63424 Next

Match .3 in a sequence

Petr Savicky wrote:
half-jokingly, there's another solution, which avoids rounding:

    0.3 %in% (seq(0.4, 0.5, 0.1)-0.2)
    # TRUE

vQ