I want to get the round off value of a decimal number Suppose I am getting 24.86 than i want to get 25 as final value
I want to do this using the Math.Round function
How do I disable "you need to format this disk" message in Windows Vista/7? I've started using TrueCrypt to encrypt a partition on an external USB hard drive. I've opted for using a raw partition as opposed to a file container.  But here's the annoyance. Whenever I connect this drive to a computer running Vista or Windows 7, I get the message popup "You need to format the disk in drive J: before you can use it".   The default option is "Format disk", and I'm afraid one of these days I'll accidentally trigger it.  Is there any way to disable this message? Keeping tables/figures close to where they are mentioned Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared? According to  , gold badge holders can now unilaterally close questions as duplicates. I hold seven gold badges for tags on SO, which means I can, on my own, close questions as duplicates for those tagged questions.  Simply put: DO NOT WANT.  However, I do not see any ability in SO (the only SE site I spend much time in) to opt out of any privileges, let alone this one.  Is there a spot that I'm just not seeing that allows me to turn off this new privilege? Dynamic select list in the form (dependent dropdown) Only generation-I Pokemon are available, however it seems that the types which did not exist in Gen-I do exist in Pokemon Go (e.g. Dark type moves).   So I'm wondering which type chart the game is using for move effectiveness.    According to Bulbapedia, in Gen I Bug attacks were super-effective against Poison, but in Gen II-V Bug attacks are not very effective against Poison. What is it in Pokemon Go? Similarly, in Gen II-V Ghost attacks are not very effective against Steel, but in Gen VI Ghost attacks are normal effective against Steel. Does anyone have a Magnemite, is it Steel type? Does it resist Ghost? Does STAB exist in this game? I have a question regarding classification in general. Let $f$ be a classifier, which outputs a set of probabilities given some data D. Normally, one would say: well, if $P(c|D) &gt; 0.5$, we will assign a class 1, otherwise 0 (let this be a binary classification).   My question is, what if I find out, that if I classify the class as 1 also when the probabilities are larger than, for instance 0.2, and the classifier performs better. Is it legitimate to then use this new threshold when doing classification?  I would interpret the necessity for lower classification bound in the context of the data emitting a smaller signal; yet still significant for the classification problem.  I realize this is one way to do it. However, if this is not correct thinking of reducing the threshold, what would be some data transformations, which emphasize individual features in a similar manner, so that the threshold can remain at 0.5? Functional equations $f(x+y)= f(x) + f(y)$ and $f(xy)= f(x)f(y)$ Let $f:\mathbb{R}\to \mathbb{R}$ is a function such that for all real $x$ and $y$, $f(x+y)= f(x) + f(y)$ and $f(xy)= f(x)f(y)$, then prove that $f$ must be one of the two following functions:   $f:\mathbb{R}\to \mathbb{R}$ defined by $f(x)=0$ for all real $x$   OR   $f:\mathbb{R}\to\mathbb{R}$ defined by $f(x)=x$ for all real $x$   I got to the point where putting the two equations together, you get $f(x+y)f(x)= f(xy) + f(x)^2$ and plugging in $f(x)=x$ checks with it. So am I going in the right direction or am I just doing some guess work? Is there a more elegant way of doing it?   Thanks I need to prove that:      if a linear operator $\phi : V \rightarrow V$ on a vector space is nilpotent, then its only eigenvalue is $0$.   I know how to prove that this for a nilpotent matrix, but I'm not sure in the case of an operator. How would I be able to relate $\phi$ to a matrix?  Note: A nilpotent operator $\phi$ has been defined as an operator that satisfies $\phi^{n} = 0$ for some $n \geq 1$. I'm creating side skirts for a truck and I am duplicating the frames I want. The problem is it's making the duplicated object into another object. How do I put it into the same one? How to make left-right transition of overlay image ffmpeg CPU clock speed versus CPU core count - higher GHz, or more cores for SQL Server? We are beginning to provision a set of physical servers for a virtual cluster of SQL Server 2016 nodes within VMware. We will be utilizing Enterprise Edition licenses.  We plan on setting up 6 nodes, but there is a bit of a debate on what the ideal way to provision the physical servers with regards to CPU clock speed versus CPU core count.  I know this is largely dependent on transaction volume and number of databases stored among other software-specific factors, but is there a general rule of thumb that is advised?  For instance, is a dual 8-core, 3.2 GHz physical server (16 cores) more preferential to a dual 16-core, 2.6 GHz server (32 cores)?  Has anyone come across a white paper that further delves into this type of topic? Why two inverters cascaded in multiplexer control signal terminals? Why cascaded inverters are used in the multiplexer when it is possible to realize the circuit using a single inverter. In other words, why do we need to connect the battery positive to the negative to get electron flow? As far as I know, voltage difference is what drives current flow.  From what I understand, there's a surplus of negative charge (electrons) in the positive end of a battery (weird I know, but I guess they do it for mathematical reasons). Between the positive and negative ends of the battery is some kind of wall that prevents the electrons from diffusing, so they have to go the long way (through a wire to the other end of the battery) to diffuse and reach the receiver atoms/molecules.  So why not just have the surplus of electrons on one end go to ground to equalize (e.g. 5 volts to 0 volts should produce current)? Why does it have to be the other end of the battery? I'm sure there's atoms/molecules in the ground that could accept the extra electrons (receivers atoms/molecules for the donors in the battery). Suppose $53$ percent of the population prefer red socks to green. If $100$ random people are asked, what is the probability that most (at least $50$) will say prefer GREEN:  So I set \begin{align*} N &amp; = 49.5\\   n &amp; = 100\\   p &amp; = 0.47 \end{align*}  Then.. \begin{align*}    P(N \geq 49.5) &amp; = P\left(\frac{N - np}{\sqrt{npq}}\right)\\                &amp; \geq \frac{49.5 - 47}{\sqrt{100*.47*.53}}\\                   &amp; = \varphi(0.50)\\                   &amp; = 0.3085   \end{align*} Except, that's not the right answer. What did I do wrong in my calculations? In our 5e game, we stole a boat. And a horse carriage. And a lot of other stuff for moving things between cities.   Our DM meant for this to be a way to skip road encounters. We decided to fund a shipping company and hire managers (Knights retainers, etc.) to turn a profit. The DM ruled that these would cover lifestyle expenses, provide us with easy smuggling, etc.   However, we want to keep tabs on the treasure we're moving back and forth.   What can we use for communicating with our managers from anywhere in the world? What about from say, across the city?  We don't need to communicate often or for long - a single round will work. All we need is for the manager to say "we need you back" How do I format a Microsoft JSON date? I'm taking my first crack at  with jQuery. I'm getting my data onto my page, but I'm having some trouble with the JSON data that is returned for Date data types. Basically, I'm getting a string back that looks like this:  /Date(1224043200000)/   From someone totally new to JSON - How do I format this to a short date format? Should this be handled somewhere in the jQuery code? I've tried the jQuery.UI.datepicker plugin using $.datepicker.formatDate() without any success.  FYI: Here's the solution I came up with using a combination of the answers here:  function getMismatch(id) {   $.getJSON("Main.aspx?Callback=GetMismatch",     { MismatchId: id },      function (result) {       $("#AuthMerchId").text(result.AuthorizationMerchantId);       $("#SttlMerchId").text(result.SettlementMerchantId);       $("#CreateDate").text(formatJSONDate(Date(result.AppendDts)));       $("#ExpireDate").text(formatJSONDate(Date(result.ExpiresDts)));       $("#LastUpdate").text(formatJSONDate(Date(result.LastUpdateDts)));       $("#LastUpdatedBy").text(result.LastUpdateNt);       $("#ProcessIn").text(result.ProcessIn);     }   );    return false; }  function formatJSONDate(jsonDate) {   var newDate = dateFormat(jsonDate, "mm/dd/yyyy");   return newDate; }   This solution got my object from the callback method and displayed the dates on the page properly using the date format library. Why do we say that the Earth moves around the Sun? What is butterfly lighting, and when do I use it? I often hear the term 'Butterfly Lighting' used when discussing high-fashion and glamor photography. How do I set up Butterfly Lighting, and when do I use it? Distorted circles in axis environment with TikZ With a fresh installation of TeX Live (updated just before writing this post), circles in axis environments are distorted. Consider the following MWE:  \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.16}  \begin{document}  \begin{tikzpicture} \begin{axis}[   ymin=-3, ymax=3,   xmin=-3, xmax=3 ]  \draw (1,0) circle [radius=1.5]; \fill (1,0) circle [radius=1];  \end{axis} \end{tikzpicture}  \end{document}   The output looks like this:   Obviously, the circles aren't even circles. I haven't encountered this problem before. Did I do anything wrong while setting up my new system?  EDIT: It's not an issue of using axis equal or not since the axes are scaled more or less equally already. Instead, the circles appear as rotated ellipses that are strongly stretched out in one dimension.  EDIT 2: Here's the output of \listfiles:  article.cls    2019/12/20 v1.4l Standard LaTeX document class   size10.clo    2019/12/20 v1.4l Standard LaTeX file (size option) pgfplots.sty    2018/03/28 v1.16 Data Visualization (1.16) graphicx.sty    2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR)   keyval.sty    2014/10/28 v1.15 key=value parser (DPC) graphics.sty    2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR)     trig.sty    2016/01/03 v1.10 sin cos tan (DPC) graphics.cfg    2016/06/04 v1.11 sample graphics configuration   pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex     tikz.sty    2020/01/08 v3.1.5b (3.1.5b)      pgf.sty    2020/01/08 v3.1.5b (3.1.5b)   pgfrcs.sty    2020/01/08 v3.1.5b (3.1.5b) everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS) pgfrcs.code.tex  pgfcore.sty    2020/01/08 v3.1.5b (3.1.5b)   pgfsys.sty    2020/01/08 v3.1.5b (3.1.5b) pgfsys.code.tex pgfsyssoftpath.code.tex    2020/01/08 v3.1.5b (3.1.5b) pgfsysprotocol.code.tex    2020/01/08 v3.1.5b (3.1.5b)   xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)    color.cfg    2016/01/02 v1.6 sample color configuration pgfcore.code.tex pgfcomp-version-0-65.sty    2020/01/08 v3.1.5b (3.1.5b) pgfcomp-version-1-18.sty    2020/01/08 v3.1.5b (3.1.5b)   pgffor.sty    2020/01/08 v3.1.5b (3.1.5b)  pgfkeys.sty pgfkeys.code.tex  pgfmath.sty     pgfmath.code.tex pgffor.code.tex tikz.code.tex l3backend-pdfmode.def    2020-02-03 L3 backend support: PDF mode supp-pdf.mkii epstopdf-base.sty    2020-01-24 v2.11 Base part for package epstopdf epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live There exist several implementations of the GBDT family of model such as:   GBM XGBoost LightGBM Catboost.    What are the mathematical differences between these different implementations?  Catboost seems to outperform the other implementations even by using only its default parameters according to , but it is still very slow.  My guess is that catboost doesn't use the dummified variables, so the weight given to each (categorical) variable is more balanced compared to the other implementations, so the high-cardinality variables don't have more weight than the others. It allows the weak categorical (with low cardinality) to enter to some trees, hence better performance. Other than that, I have no further explanation.