What should a user input into a Percentage field to state “100%”? Is there a defined semantics or is this something the creator of the fields has to configure by the amount of decimals and validation rules?
Answer
User input for a percentage field is to represent the percentage as a whole number.
- .1 = .1%
- 1 = 1%
- 10 = 10%
- 100 = 100%
Worth mentioning also that the value retrieved from the DB comes out in the same format, you need to convert by dividing by 100 yourself.
Attribution
Source : Link , Question Author : Robert Sösemann , Answer Author : Robert Sösemann