assoconnect / absolute-percent-value-bundle
Installs: 14 118
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 2
Open Issues: 0
Requires
- php: ^7.4|^8.0
- beberlei/assert: ^3.2.7
- symfony/framework-bundle: ^5.0|^6.0|^7.0
- symfony/serializer: ^5.1.8|^6.0
Requires (Dev)
README
Installation
composer require assoconnect/absolute-percent-value-bundle
To know
An AbsolutePercentValue can be used to represent either an absolute value or a percent.
It has two attributes:
- A type which can be either 'PERCENT' or 'ABSOLUTE'
- A value which is a string numeric positive
If the type of the AbsolutePercentValue is 'Percent', then its value must be less than 10000 (100%).