How to name value with range of 0.0 to 1.0?

你。 提交于 2019-12-10 22:32:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!