Map range: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1,873: | Line 1,873: | ||
Print "f(";i;") maps to ";mapToRange(i, 0, 10, -1, 0) |
Print "f(";i;") maps to ";mapToRange(i, 0, 10, -1, 0) |
||
Next i |
Next i |
||
End |
|||
Wait |
|||
Function mapToRange(value, inputMin, inputMax, outputMin, outputMax) |
Function mapToRange(value, inputMin, inputMax, outputMin, outputMax) |