A field of type PACF is a numeric value in which each half-byte is a hexadecimal character, and the sign is represented by a hexadecimal F (for a positive number) or a hexadecimal D (for a negative number) in the right half of the rightmost byte. The length reflects the number of digits and ranges from 1 to 18. To determine the number of bytes, add 2 to the length value, divide the sum by 2, and truncate any fraction in the result.
// for decimal 123 00 12 3F // for decimal -123 00 12 3D // for decimal 1234 01 23 4F // for decimal -1234 01 23 4D
A negative value that is read from a file or database into a field of type PACF may have a hexadecimal B in place of D; EGL accepts the value but converts the B to D.
Related reference
Primitive types