The function f(a,x) returns the value in the array a specified by x, where x is a percentage of the length of the array, divided by 100.
(i.e. x can be any number between 0 and 1, corresponding to a percentage between 0% and 100%)
Examples: if a = [1,2,3,4,5], then f(a, 0.5) = 3; f(a, 0) = 1; f(a, 1) = 5;
Is there a better way to express that some variable is a 'percentage divided by 100'?
Preferably I am looking for a single word.
Alternatively a phrase, and a single word that can be used later on to reference that phrase.
My first idea was 'fraction', but I am not sure whether that conveys the concept.
Update based on long's answer:
I am looking for a term for the first item in this list:
- ?, [0-1]
- ?, [0-10]
- percent, %, [0-100]
- per mille 0/00 [0-1000]
- basis point, permyriad 0/000, [0-10000]