麻烦大虾们帮我解释一下 急用!!!

来源:百度知道 编辑:UC知道 时间:2024/07/06 17:22:44
Target Conversion
C The packed field is transported right-justified to the character field, if required with a decimal point. The first position is reserved for the sign. Leading zeros appear as blanks. If the target field is too short, the sign is omitted for positive numbers. If this is still not sufficient, the field is truncated on the left. ABAP indicates the truncation with an asterisk (*). If you want the leading zeros to appear in the character field, use UNPACK instead of MOVE.
D The packed field value represents the number of days since 01.01.0001 and is converted to a date in YYYYMMDD format.
F The packed field is accepted and transported as a floating point number.
N The packed field is rounded if necessary, unpacked, and then transported right-justified. The sign is omitted. If required, the target field is padded with zeros on the left.
P The packed field is transported right-justified. If the target field is too short, an overflow occurs.
T

目标转换
C被包装的领域被运输的靠右边对齐对字符领域,如果必须与小数点。 第一个位置为标志是后备的。 起始的零出现作为空白。 如果目标领域是太短的,标志为正数被省去。 如果这仍然不是充足的,领域在左边被削。 ABAP表明截与星号(*)。 如果您要起始的零出现于字符调遣,用途打开而不是移动。
D被包装的领域价值代表几天的数量,因为01.01.0001和被转换成一个日期以YYYYMMDD格式。
F被包装的领域被接受并且被运输作为浮动小数点数字。
N被包装的领域被环绕如果需要,被打开的,然后被运输的靠右边对齐。 标志被省去。 如果必须,目标领域填塞与在左边的零。
P被包装的领域被运输的靠右边对齐。 如果目标领域是太短的,溢出发生。
T被包装的领域价值代表秒钟的数量,因为午夜和被转换成时期以HHMMSS格式。
X被包装的领域如果需要,被环绕然后被转换成十六进制数。 负数由二补全代表。 如果目标领域是太短的,数字在左边被削。