Top "Decimal" questions

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

How to find 10's complement of decimal number

Whats the 10's complement of 1056.074? Please check the solution: 9999.999 - 1056.074 = 8943.925 (9's complement of 1056.074) Now 1 is added to .074 or 8943?

math decimal decimal-point complement number-systems
When to use Money data or Decimal Data type in sql server to store costing values?

What is preferable data type to store the costing value ? Money or Decimal whats the programmatic diff bet them? asp.…

sql sql-server decimal sqldatatypes currency
Decimal vs Double Speed

I write financial applications where I constantly battle the decision to use a double vs using a decimal. All of …

double decimal finance
Get number of digits before decimal point

I have a variable of decimal type and I want to check the number of digits before decimal point in …

c# numbers decimal
Why can't I unbox an int as a decimal?

I have an IDataRecord reader that I'm retrieving a decimal from as follows: decimal d = (decimal)reader[0]; For some reason …

c# decimal int unboxing
Decimal.TryParse doesn't parse my decimal value

When I tried to convert something like 0.1 (from user in textbox), My value b is always false. bool b = Decimal.…

c# decimal tryparse
C# Decimal datatype performance

I'm writing a financial application in C# where performance (i.e. speed) is critical. Because it's a financial app I …

c# performance decimal
DisplayFormat not getting applied on decimal value

I have a model property I'm trying to render using an EditorFor template, and I'm trying to apply formatting using …

asp.net-mvc asp.net-mvc-3 decimal mvc-editor-templates displayformat
How can I convert between scientific and decimal notation in Perl?

I know this is a total newbie question, but the answer may not be obvious to many new programmers. It …

perl decimal notation scientific-notation
Convert HEX column to DEC in MySQL

I am writing an application which will do some formatting to CSV file and uploads the table to mysql after …

php mysql hex decimal typeconverter