APAR status
Closed as program error.
Error description
Environment: - Windows XP - Rational Business Developer v 7515 Reproducible Y/N: Y Description of problem: RUI: decimals converted to string are formatted without decimals When a decimal value is assigned to a string, the defined number of decimals are not taken into account. The value is formatted depending on how the decimal was filled. An example: testDecimal1 decimal(9, 2) = 5.00; testDecimal2 decimal(9, 2) = 5; If assigned to a string, the formatting is as follows: decimal 1: 5.00 decimal 2: 5 Both should be formatted as 5.00. Step to reproduce: Workaround:
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** When a variable of type decimal is assigned to a string, or converted to a string, the result in JavaScript could be missing zeros after the decimal point. For example, a decimal(9,2) assigned 5.00 would be converted to the string "5.00", but the same decimal assigned 5 would be converted to the string "5". The string should always be "5.00".
Problem conclusion
The problem has been fixed.
Temporary fix
Comments
APAR Information
APAR number
PM34621
Reported component name
RBD EGL FOR COB
Reported component ID
5724S5001
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-03-11
Closed date
2011-05-06
Last modified date
2011-05-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RBD EGL FOR COB
Fixed component ID
5724S5001
Applicable component levels
R751 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
06 May 2011