‎2008 Jan 21 6:40 PM
hi all,
i have defined a field as data type betrg which is P, but in some cases i m having arithemetic overflow error.
"An overflow has been determined in the current arithmetical operation
containing operands of type P. Possible causes include:
1. The results field of type P is to small and the result does not fit
into it.
places.
2. The result or partial result has more than 31 decimal places."
Can someone please suggest a field that can hold higher values then betrg??
thanks,
HM
‎2008 Jan 21 6:49 PM
‎2008 Jan 21 6:44 PM
‎2008 Jan 21 6:46 PM
Try to do it in a smalle variable on decimal places,
ie:
var type p decimals 7---> do not like this
var type p decimals 4 --> correct
Bye
Gabriel
‎2008 Jan 21 6:49 PM
‎2008 Jan 22 9:59 AM
Can i define it as var(20) type p decimals 2??
does it mean it can accomodate 20 places before decimal??
thanks,
HM
Edited by: Hitesh Mehta on Jan 22, 2008 10:59 AM
‎2008 Jan 22 1:37 PM