Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Question on D12.2 Define
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Question on D12.2 Define
 Login/Join
 
Master
posted
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 8.
Windows, All Outputs
 
Posts: 544 | Registered: June 28, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
So, increase the size of the field ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1714 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Master
posted Hide Post
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 8.
Windows, All Outputs
 
Posts: 544 | Registered: June 28, 2013Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1694 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Question on D12.2 Define

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.