Cast value to Value model instance before validate data from request
Need to cast value.amount to Value model for the correct calculation of the value without a floating point.
Or investigate another solution for this case
Edited by Ghost User
Need to cast value.amount to Value model for the correct calculation of the value without a floating point.
Or investigate another solution for this case