Error in Mathematical division
kkamaras
Greece
Dear Sir/Madam,
I was trying to compute this : [([field1] - [field2]) / [field3]*100].
The result should be a currency value(euros).
Is there a better way to syntax?
Because I took this error:
mscorlib : Value was either too large or too small for a Decimal.
FastReport : Text104: Error in expression: ([field1]-[field2] ) /[field3]*100
Thank you in advance.
Konstantinos Kamaras
I was trying to compute this : [([field1] - [field2]) / [field3]*100].
The result should be a currency value(euros).
Is there a better way to syntax?
Because I took this error:
mscorlib : Value was either too large or too small for a Decimal.
FastReport : Text104: Error in expression: ([field1]-[field2] ) /[field3]*100
Thank you in advance.
Konstantinos Kamaras
Comments
https://www.fast-report.com/en/forum/index....custom+function
check the value with decimal.maxvalue and decimal.minvalue
https://stackoverflow.com/questions/3413781...l-for-a-decimal