9 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <meta http-equiv=
"Content-Location" content=
"/v0.0/ion/Decimal/Context/__construct">
12 <link rel=
"stylesheet" href=
"index.css">
14 <link href=
"https://fonts.googleapis.com/css?family=Inconsolata&subset=latin-ext" rel=
"stylesheet">
15 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
16 <link rel=
"shortcut icon" href=
"/v0.0/favicon.ico">
24 <a href=
"./ion/Decimal/Context/__construct">Edit
</a>
29 <li>↰ <a href=
"./">Home
</a>
34 ↑ <a href=
"./ion">
40 ↑ <a href=
"./ion/Decimal">
46 ↑ <a href=
"./ion/Decimal/Context">
52 ↻ <strong><a href=
"./ion/Decimal/Context/__construct">Context::__construct
</a></strong>
58 <li>↲ <a href=
"./ion/Decimal/Context/Dec128">Dec128
</a></li>
60 <li>↲ <a href=
"./ion/Decimal/Context/Dec32">Dec32
</a></li>
62 <li>↲ <a href=
"./ion/Decimal/Context/Dec64">Dec64
</a></li>
64 <li>↲ <a href=
"./ion/Decimal/Context/DecMax">DecMax
</a></li>
66 <li>↲ <a href=
"./ion/Decimal/Context/Rounding">Rounding
</a></li>
80 <meta charset=
"utf-8"><h1>
81 <a class=
"permalink" href=
"ion/Decimal/Context/__construct#">#
</a><code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void
</a></code> <a href=
"ion/Decimal/Context/__construct">ion\Decimal\Context::__construct
</a>(
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var">$digits
</span>,
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var">$eMax
</span>,
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var">$eMin
</span>,
<a href=
"ion/Decimal/Context/Rounding">ion\Decimal\Context\Rounding
</a>|
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var">$round
</span>,
<code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <span class=
"var">$clamp
</span>)
</h1><p>Create a new decimal context.
</p><h2 id=
"Params:">Params:
<a class=
"permalink" href=
"ion/Decimal/Context/__construct#Params:">#
</a>
84 <code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var" id=
"$digits">$digits
<a class=
"permalink" href=
"ion/Decimal/Context/__construct#%24digits">#
</a></span><br>
87 <code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var" id=
"$eMax">$eMax
<a class=
"permalink" href=
"ion/Decimal/Context/__construct#%24eMax">#
</a></span><br>
88 Maximum exponent.
</li>
90 <code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var" id=
"$eMin">$eMin
<a class=
"permalink" href=
"ion/Decimal/Context/__construct#%24eMin">#
</a></span><br>
91 Minimum exponent.
</li>
93 <a href=
"ion/Decimal/Context/Rounding">ion\Decimal\Context\Rounding
</a>|
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var" id=
"$round">$round
<a class=
"permalink" href=
"ion/Decimal/Context/__construct#%24round">#
</a></span><br>
96 <code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <span class=
"var" id=
"$clamp">$clamp
<a class=
"permalink" href=
"ion/Decimal/Context/__construct#%24clamp">#
</a></span><br>
97 Whether to clamp.
</li>
99 <div id=
"disqus_thread"><button id=
"disqus_activator">Show
<span> </span> Comment(s)
</button></div>
101 var disqus_shortname = 'mdref';
102 var disqus_identifier = 'ion/Decimal/Context/__construct';
108 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
110 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
117 <script src=
"index.js"></script>