Top "Decimal" questions

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

How to convert a decimal number into fraction?

I was wondering how to convert a decimal into a fraction in its lowest form in Python. For example: 0.25 -&…

python decimal fractions
SQL DataType Negative Decimal

Im inserting Data into a database, they have a decimal and a negative number, is there a way to the …

sql decimal sqldatatypes
System.FormatException : Input string was not in a correct format ,on converting string to decimal.

I have a little problem with ASP.NET and C#. This is my error code: An exception of type 'System.…

c# asp.net string decimal formatexception
Really 1 KB (KiloByte) equals 1024 bytes?

Until now I believed that 1024 bytes equals 1 KB (kilobyte) but I was reading on the internet about decimal and binary …

binary byte system decimal bit
How can I convert decimal? to decimal

may be it is a simple question but I'm try all of conversion method! and it still has error! would …

c# .net decimal type-conversion nullable
Convert string to decimal number in ruby

I need to work with decimals. In my program, the user need to put a number with decimals to convert …

ruby numbers decimal
Python Decimal to String

There are tons of topics on here that explain how to convert a string to a decimal, but how do …

python string decimal
Adding binary numbers

Does anyone know how to add 2 binary numbers, entered as binary, in Java? For example, 1010 + 10 = 1100.

java binary decimal addition
Storing statistical data, do I need DECIMAL, FLOAT or DOUBLE?

I am creating for fun, but I still want to approach it seriously, a site which hosts various tests. With …

mysql floating-point double decimal
to_d to always return 2 decimals places in ruby

I'm dealing with currencies and I want to round down the number to 2 decimal places. Even if the number is 500.0, …

ruby-on-rails ruby math decimal currency