Questions tagged [price]

Usually an amount of currency paid in exchange for a product or service. An implicit or explicit agreement on the used currency is needed for an unambiguous price specification. Sometimes "the price to pay" is meant metaphorically.
In programming context, the price for a change to a program refers to an increased amount of memory consumption, execution duration, latency, worst case behaviour or any other undesirable attribute of the program afterwards.

Note, when handling currency values in a program it is usually the best method to store prices in integer typed variables, counting the smallest denominations. I.e. storing the integer value 323 (implicit euro cents) in an integer is more reliable than storing the floating point value of 3.23 €.

907 questions
-3
votes
1 answer

Drop down price update

I am trying to build an app that let people choose a license and the price is different for different licenses. I want a real-time price update on the page of the product. Here is the reference that I took for the below code:…
secrethash
  • 182
  • 1
  • 1
  • 12
-3
votes
2 answers

Multiply Value in PHP

I have this pieces of php here... The value that gets written in HTML is this $16.67. I am not sure what value type this is, not sure if it is a string or integar. Regardless, I need to take this value and increase it by 3%. I tried this but to no…
Robert Henry
  • 43
  • 1
  • 9
-3
votes
1 answer

How do I calculate subTotal using one method and multiple constants and variables?

I'm just getting into java and have a program I need to write with a Class and ClassDriver. I'm supposed to write a program to calculate the total for cheesecake orders (four different kinds) based on price and count. The price given for each is…
Mr_Traum
  • 11
  • 3
-4
votes
1 answer

need to create Python regex for 65$ or $65 values

I trying to use: price = str(re.findall(r"\$[^ ]+", msg_content)) and price value is: XX.XX$ \ X.XX$ \ X$ $XX.XX \ $X.XX \ $X
Snirki
  • 9
  • 1
-4
votes
1 answer

Pricing Analytics in R , maximization of demand at an optimum price point

Hi I have similar problem here. I am trying to maximize sales to find an optimum price. I have fit a linear regression assuming a linear relation ship between price and quantity and other variables (Including Dummy variablles) impacting quantity. I…
-5
votes
1 answer

Google App Engine flexible price

Rails application currently running on App Engine Flexible, It is close to $15 from March 1st to March 10th, I feel that the infrastructure cost is somewhat higher. I set it so that access to the application rarely occurs and the resource of app.yml…
1 2 3
60
61