Question

If you want to keep track of your income, what data type of variable would you...

If you want to keep track of your income, what data type of variable would you use and why?

Homework Answers

Answer #1

Qus: If you want to keep track of your income, what data type of variable would you use and why?

Ans:

Usually income is stored in Numeric datatypes. But to be more specific and accurate, We should use Decimal Datatype.

The decimal data type is an exact numeric data type defined by its precision (total number of digits) and scale (number of digits to the right of the decimal point). For example:

So, When we need accurate calculations for money or currency , interests, loans etc, the decimal data type is suitable for storing currency data where the required range of values or number of digits to the right of the decimal point exceeds the capacities of the money data type.

Hope It helps!

Thumbs up ;)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
4B. Bivariate Data Screening for One Categorical and One Quantitative Variable, What type of pilot would...
4B. Bivariate Data Screening for One Categorical and One Quantitative Variable, What type of pilot would you want to run in Categorical with Quantitative?
Do you think that WalMart should use a periodic system to keep track of inventory? Would...
Do you think that WalMart should use a periodic system to keep track of inventory? Would they have to take a count of all the inventory at least once a month?
What is purchasing power parity? Why would a government want to keep its currency undervalued? What...
What is purchasing power parity? Why would a government want to keep its currency undervalued? What transactions does a central bank need to do to keep its currency undervalued?
In the prior questions you share your opinions regarding the type of relationship you would want...
In the prior questions you share your opinions regarding the type of relationship you would want to have with your followers. Also you shared your opinion regarding leadership behaviors and actions.    Discuss the leader - follower relationship you believe a marketing leader should have with followers? Discuss why you feel those leadership behaviors and or actions are important in motivating followers. 100 word minimum
why would a company want to keep a bond until maturity?
why would a company want to keep a bond until maturity?
For each product cost identified, describe how you would track the cost? Would you track it...
For each product cost identified, describe how you would track the cost? Would you track it by individual job, production step, activity, general factory overhead, etc.? Product Cost Raw materials Supplies Freight & Shipping Repairs & Maintenance Income Tax Please explain your answer for each.
What would you be looking for if you were opting to track twoards a career in...
What would you be looking for if you were opting to track twoards a career in security? How would you prepare yourself for entering a career in security, keeping in mind that you would want to aspire to performing functions at a higher level than that of a 'basic' security officer?
1-What is the source data for zillow? 2- Why would a person searching Zillow want to...
1-What is the source data for zillow? 2- Why would a person searching Zillow want to use a data mart?
What type of lamps would you use for UV range radiation? Why? and What lamp would...
What type of lamps would you use for UV range radiation? Why? and What lamp would you use for Visible range of radiation? Why?
1-What is the source data for Zillow? 2-Why would a person searching Zillow want to use...
1-What is the source data for Zillow? 2-Why would a person searching Zillow want to use a data mart?