[#BloombergLP-bdljsn-NumberUtil-asUlong] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/NumberUtil.adoc[NumberUtil]::asUlong :relfileprefix: ../../../ :mrdocs: Load the specified `result` with the specified `value`, even if a non‐zero status is returned (truncating fractional digits if necessary). Return 0 on success, `k_OVERFLOW` if `value` is larger than can be represented by `result`, `k_UNDERFLOW` if `value` is smaller than can be represented by `result`, and `k_NOT_INTEGRAL` if `value` is not an integral number (i.e., there is a fractional part). The behavior is undefined unless `isValidNumber(value)` is `true`. == Synopsis Declared in `<bdljsn_numberutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int asUlong( unsigned long* result, std::string_view const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#