问题
Quite often I use values between 0.0 and 1.0 to hold progress, or transparancy, or other things that can go from none to full. A percentage if you will.
I don't want to call it a percentage because it is not expressed as a value from 0 to 100.
To give my variables a clear name, I still would like to describe this kind of value.
What would be an appropriate name, I still haven't found one after years.
回答1:
That is called a normalized value.
来源:https://stackoverflow.com/questions/34515311/how-to-name-value-with-range-of-0-0-to-1-0