American odds to probabilities

0

Please login or register to vote for this query.

(click on this box to dismiss)

Bicycles

Q&A for people who build and repair bicycles, people who train cycling, or commute on bicycles

--codegolf.stackexchange.com/questions/265168
DECLARE @a INT
SET @a=##a##
IF ABS(@a)<100
SELECT ''
ELSE IF @a=-100
SELECT ''
ELSE IF @a>=100
SELECT 100/(100+1.0*@a)
ELSE IF @a<-100
SELECT ABS(1.0*@a)/(100+ABS(1.0*@a))

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results