answersLogoWhite

0

What type of data is price?

Updated: 11/1/2022
User Avatar

Wiki User

14y ago

Best Answer

Does price have fractional parts? If so go with a double. Otherwise use an int or long, depending on how large price is going to get.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What type of data is price?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

The data type of an item price?

I am assuming that the question is "What would the best data type to represent a price".Although this is open for debate, in Java I think that the best data type for a price is double and the best data type in C# to be decimal.I hope this answers your question.


In access what is the The data type of an item price?

float data


What type of data does CIEN show?

The type of data CIEN shows is the following, it shows how the stock changes along time. Whether the price of the stock increases or decreases with selectable time periods.


What data type is age?

integer data type


What is data and define its type?

Data is information. Data type defines the type of data - integer, character etc


What data type is middle initial?

what data type is Middle initial


How do you insert a hyperlink in Access?

There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.


Which data type can store any data?

There is no such data type. However, when we use user-defined data types of our own type, then that type of data can be stored in a variable. So as a term, you may say that user-defined data type can store any data. As the data-type used in any variable will be depending upon us.


What is boolean data type?

what is boolean data type


Suggest the data type that can be used for initializing alphanumeric elements in a c programmed array .Also tell you the compiler that can understand the data type.?

Data Type : - It is used to identify the type of data. 'C' Language has a large no of data type, Thus it is also known by rich data type language: Data type are generally classified in three group: 1: Fundamental data type 2 Derived Data Type : 3 Use defined data type; 1 Fundamental data type: Fundamental data type includes i) The int data type: The data type int can store integer value only for eg. 14, 45, 78 declaration: int a,b; here we can store any value in variable a & b. ii) Char Data Type : The data type char can store character value only which is enclosed with single quote for e.g. 'c' declaration : char x = 'c' iii) Float Data Type:


What indicates the type of data that can be stored in field in Access?

Data Type indicates the type of data that can be stored in a field.


What is the data type for 0.38?

The data type for 0.38 is double.