adam._toLong

private long _toLong() const @trusted

Convert the stored value to long for arithmetic.

Notes:

  • For STRING type, attempts numeric parsing; returns 0 on failure.
  • For ULONG values > long.max, the result wraps to negative (use with care).