Top "Decimal" questions

Decimal is the name for our common base-ten numeral system.

What is the purpose of Decimal.One, Decimal.Zero, Decimal.MinusOne in .Net

Simple question - why does the Decimal type define these constants? Why bother? I'm looking for a reason why this …

c# .net vb.net decimal constants
Java DecimalFormat Scientific Notation Question

I'm using Java's DecimalFormat class to print out numbers in Scientific Notation. However, there is one problem that I have. …

java formatting decimal scientific-notation
How can I convert a string such as 5.7303333333e+02 to decimal in PowerShell?

I'm trying to convert strings such as 5.7303333333e+02 to the decimal type. I've tried using [decimal]::TryParse but the return …

powershell decimal data-conversion
Is there a reliable way in JavaScript to obtain the number of decimal places of an arbitrary number?

It's important to note that I'm not looking for a rounding function. I am looking for a function that returns …

javascript floating-point decimal precision fractions
Replace comma and dot in Pandas

I have a Column with data like 3.4500,00 EUR. Now I want to compare this with another column having float numbers …

python pandas decimal comma euro
Decimals to 2 places for money in Python 3

How do I get my decimals to stay at 2 places for representing money using the decimal module? I've setting the …

python python-3.x decimal currency
Java - Converting hours(in double) to minutes(integer) and vice versa

I need the correct formula that will convert hours to minutes and vice versa. I have written a code, but …

java datetime decimal fractions
Is a double really unsuitable for money?

I always tell in c# a variable of type double is not suitable for money. All weird things could happen. …

c# language-agnostic decimal currency
How to set masked text box values to decimal numbers?

I am new to C# Here i am using masked textbox and set the mask as 00.0. And in database respective …

c# winforms decimal maskedtextbox
Arbitrary-Precision Decimals in C#

Possible Duplicates: Big integers in C# C# unlimited significant decimal digits (arbitrary precision) without java I read the question at …

c# math decimal precision j#