Doubts about overloading

I’ve created two methods like this:

Extends v As Single, v1 as Double, v2 as Double Extends v As Double, v1 as Double, v2 as Double
but when I compile I get this error:

There are several items with this name and it is not clear which one the call refers to.

As you can imagine I want to extend both Singles and Doubles with the same method.
Is it possible to do it? If so, how?
Thanks,

Your two methods have nothing to do with overloading. Overloading applies to classes only and then in addition only for methods within the same class.

Just delete the extension method on Single, and you will be fine.

Overloading actually is most often used with FUNCTIONS… the key requirement is that the SIGNATURE of the function and it overload(s) NOT be the same

function xyz(s as string) as string
     return xyz(val(s))
end function

function xyz(d as double) as string
    return str(d/3)
end function

above is not real-world code… but just an example

Sorry. The methods where:

IsBetween(Extends v As Single, v1 as Double, v2 as Double) as Boolean IsBetween(Extends v As Double, v1 as Double, v2 as Double) as Boolean
But Eli comment is clear.
Thanks