Anonymous user
Map range: Difference between revisions
m
→{{header|Liberty BASIC}}
No edit summary |
|||
Line 1,873:
Print "f(";i;") maps to ";mapToRange(i, 0, 10, -1, 0)
Next i
End
Function mapToRange(value, inputMin, inputMax, outputMin, outputMax)
|