Does it sound right that this define allows for only 12 total characters including any decimal and negative. Perhaps we have lucked out to this point but we are getting an overflow today on a number that should appear as:
-#########.##This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8206.08 Windows, All Outputs
August 26, 2019, 04:43 PM
Waz
So, increase the size of the field ?
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
August 26, 2019, 04:55 PM
BabakNYC
According to the manual:
The floating-point double-precision USAGE type is D. See Numeric Display Options for the compatible display options. The length specification format is:
t[.s]
where:
t
Is the number of characters to display up to a maximum of 33, including the numeric digits,
an optional decimal point, and a leading minus sign if the field contains a negative value.
The number of significant digits supported varies with the operating environment.
s
Is the number of digits that follow the decimal point. It can be a maximum of 31 and must be less than t.
In the case of D8.2, the 8 represents the maximum number of places, including the decimal point and decimal places.
The 2 represents how many of these eight places are decimal places. The commas are automatically included in the
display, and are not counted in the total.
WebFOCUS 8206, Unix, Windows
August 27, 2019, 09:53 AM
RobertF
Thanks..yes we must increase the field size..here there and everywhere. Funny this was not an issue for years. We just interpreted the D12.2 incorrectly. Thanks!
WebFOCUS 8206.08 Windows, All Outputs
August 27, 2019, 10:40 AM
FP Mod Chuck
Robert
Since the metadata are stored in files on the OS you can use a tool like Notepad ++ or Windows GREP to search for the D12.2 and mass update.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats