#mapNumToRange ( val ; valMin ; valMax ; mapMin ; mapMax )
Maps a given value, from one range of numbers, to another range of number
Average rating: 3.0 (2 votes) Log in to vote
Philip McGeehan - Show more from this author
SMD Ltd http://philipmcgeehan.com |
#mapNumToRange ( 10 ; 0 ; 20 ; 50 ; 100 )
75
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Use this function to take any number and scale it to a new number that is more useful for the project that you are working on.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.