<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">override </span><spanclass="token keyword">fun </span><ahref="number.html"><spanclass="token function">number</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">value<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../-double-buffer-n-d/index.html">DoubleBufferND</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/DoubleFieldND.kt#L226">source</a>)</span></span></div><pclass="paragraph">Wraps a number to T object.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">an object.</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>value</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the number to wrap.</p></div></div></div></div></div></div></div>