Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6186497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:53:56+00:00 2026-05-24T01:53:56+00:00

I am working on building an application for a banking institution where the accuracy

  • 0

I am working on building an application for a banking institution where the accuracy for monetary transaction is very much essential. I am thinking of using the datatype Money in SQL Server.

So I need suggestion whether the datatype I am using is enough to provide accuracy or not? I also wanted to know which one if better if i use the numeric datatype or Money datatype?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:53:57+00:00Added an answer on May 24, 2026 at 1:53 am

    A quick search in the SQL Server Books Online would have revealed….

    money
         -922,337,203,685,477.5808 to 922,337,203,685,477.5807     8 bytes
    
    smallmoney
         - 214,748.3648 to 214,748.3647                            4 bytes
    

    The money and smallmoney data types are accurate to a ten-thousandth of the monetary units that they represent. (that’s four digits after the decimal point)


    Numeric data types that have fixed precision and scale.

    decimal[ (p[ ,s] )] and numeric[ (p[ ,s] )]
    

    Fixed precision and scale numbers. When maximum precision is used, valid values are from – 10^38 +1 through 10^38 – 1. The ISO synonyms for decimal are dec and dec(p, s). numeric is functionally equivalent to decimal.

    p (precision)

    The maximum total number of decimal digits that can be stored, both to the left and to the right of the decimal point. The precision must be a value from 1 through the maximum precision of 38. The default precision is 18.

    s (scale)

    The maximum number of decimal digits that can be stored to the right of the decimal point. Scale must be a value from 0 through p. Scale can be specified only if precision is specified. The default scale is 0; therefore, 0 <= s <= p. Maximum storage sizes vary, based on the precision.


    Numeric (or Decimal which is the same) certainly has the larger range – and you can tweak how many digits you need before or after the decimal point.

    On the other hand – even Money is accurate to one tenth of a thousandth of dollars or Euros or whatever currency you’re interested in – that’s typically enough even for a bank….

    So basically:

    • if you need more than 4 significant digits after the decimal point, or more than 15 digits before the decimal point – pick NUMERIC / DECIMAL

    • otherwise, MONEY will be just fine

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm slowly building my application to a working state. I'm using two functions called
I am working on designing and building a desktop application. I am thinking about
I am working on building a web-application using Django. Since I'm new to working
I'm working on building a Silverlight application whereas we want to be able to
I'm building a WPF application and working with the MVVM pattern. I have 4
I've just started building a prototype application in Django. I started out by working
I'm currently working on a project that is building a java-based desktop application to
I'm working on a student project team building application. I'm familiar with optimization but
I am building web application using Spring MVC Spring Security Hibenate MySQl I want
I'm currently working on building an application in CakePHP. There's a quite extensive existing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.