06-15-2007 12:41 PM
06-15-2007 02:17 PM
JCNT wrote:I would like to know which is the maximum positive and negative number I can write in a SGL numeric control. ....
I wrote in a DBL numeric control the number 6216825840 (which is less than the maximum on the table 3.40e+38) and I displayed it in a SGL numeric indicator, and the number changed.
This is a precision problem/limitation, not a max/min problem.
SGL is limited to ~7 digits precision.
With DBL, you have ~15 digits precision.
06-15-2007 02:23 PM
06-15-2007 02:39 PM - edited 06-15-2007 02:39 PM
@JCNT wrote:
You mean that I could just write until the number 9999999?
No. You are not limited to 7 digit numbers ... as shown by the 10 digit SGL 6216825856 in your JPG.
But a SGL cannot give you precision beyond the 7th digit: 6216825xxx
Message Edited by Donald on 06-15-2007 03:40 PM
06-15-2007 03:15 PM
06-15-2007 03:28 PM - edited 06-15-2007 03:28 PM

Message Edited by altenbach on 06-15-2007 01:33 PM
06-15-2007 04:02 PM