ERPConnect.AbapPackedNumber
Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
ToDecimal(in ArraySegment<byte>, in int)
Currently we don't support all values for defined total lengths > 28. We throw an exception, only if the actual value exceeds the supported range. We only consider fully supported decimal places for range checking (no optimization for ± 7.9228 * 10^28). If we would like to support more values, we would need to store the raw BCD bytes in a struct or class, like we do for the ERPConnect.UtcLong type, and convert to string. (unless a type that supports all values is added to .NET in the future)
Parameters
bcdBytesSegment
ArraySegment<byte>
decimalsCount
int
Returns
ToDecimal(in string)
Parameters
abapString
string