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
-2
votes
1 answer

GAE Flex Price as WebSocket Server

I would like to know what is the approximate price of a Goggle App Engine Flex f1-micro instance to use it as a websocker server For example, I can estimate that during the use of 730 hours per month of an e2-micro instance, I will have an estimated…
lbrlx
  • 21
  • 2
-2
votes
1 answer

Higher ML model accuracy negatively impacts pricing optimisation

I work with some supermarket data to do some Sales Forecasting. So, I do regression and my model has 25+ columns. My final goal is to make an optimal pricing recommendation-optimal discount tool. So, I brute-force different discounts-product_prices…
-2
votes
1 answer

GCP - do I need to pay for using google plus sign in in my app?

Recently, I received an email from google says "Your free trial has ended." I have an android app which uses the google plus sign in to authentication. Do I need to pay for this ?
-2
votes
2 answers

How to handle price dynamic

We have requirement to handle price dynamic (referring external system). We would like to know, what is the best way to handle dynamic pricing among below : Approach 1 : Creating Price factory extension and overriding getBasePrice() method of…
-2
votes
1 answer

shopify product page special price after regular price

I am trying to swap position of regular price and special price on product page. My manager want to show regular price with line through and special price after that.
-2
votes
1 answer

move the price in the shop page - woocommerce

In the main shop page (archive products) in woocommerce, I would like to get the price out of over the picture and put it simply under the product picture and it's title. Thank you for your kind help, Michal shop page woocommerce change position of…
-2
votes
1 answer

What licence or Pricing is required for developing asp.net website using crystal reports

I'm developing a website for a company which will be used by both internal users and public users (outside company domain). The website will be using crystal reports for reporting. I have downloaded "SAP Crystal Reports for VS" from…
gmuhammad
  • 1,434
  • 4
  • 25
  • 39
-2
votes
2 answers

Desk Price Calculation in Python

I have a little exercise I need to do in Python that's called "Desk Price Calculation". There need to be 4 functions which are used in the program. My main problem is using the output of a function in another function. def get_drawers(): …
omar
  • 96
  • 1
  • 9
-2
votes
2 answers

if($p > 0 && $p <= 1 not work in tho decimals

I put this code for calculate price in a function getPrecio. For products with prices below 1 (for example 0.2 or 0.02), this function does not work. Why? This its the code: function getPrecio($p) { if($p > 0 && $p <= 1) return $p*1.99; } its a…
vandark
  • 1
  • 2
-2
votes
1 answer

Format a column of prices in CSV in R

I have a csv file, where the prices after exported in R as a list, are worded like: $115.00 USD, so I cannot convert it with as.numeric(sub('\\$','',as.character(Data))) because it returns with N/As because of the " USD" part.
fokos
  • 1
-2
votes
1 answer

PHP Color the lowest price in a table

I try to insert 7 price values into a table and color the lowest price. I don't know where to place $lowestprice. I'm aware it's poor code, but it worked until I try to add a color. for ($i = 1; $i <= 7; $i++){ ${"price".$i} =…
Kernel
  • 17
  • 1
  • 1
  • 6
-3
votes
1 answer

I need this 5,000 10,000 340,000 1,000,000 25,000,000 250,000,000

extension PriceValidator on String { bool isValidPrice () { return RegExp(r'^(\d{1,3}(\.\d{3})*|(\d+))*(\.\d{3})$').hasMatch(this); } } I used this regular expression to get me this data when publishing a…
-3
votes
1 answer

Change WooCommerce price display

Please allow me to provide additional information and I hope this helps. Targets: Customize the shop page Make products unpurchasable for certain categories Hide price ranges on variables product and prices only appear when selected Change the…
carlozsan
  • 53
  • 7
-3
votes
1 answer

Aws billing pricing shutting down server

I have a client aws account i cannot get access to and he cannot access gmail to change password. He owns an ec2 instance. I have ssh access. If i go in and shut down the server, not able to terminate, what will my monthly charges be. We have the…
somejkuser
  • 8,856
  • 20
  • 64
  • 130
-3
votes
3 answers

How to change 1,000,000 price to 1,XXX,XXX using php or javascript?

This is my source code: preg_replace('/[A-Z0-9]/', 'X', number_format('1000000')); Result: x,xxx,xxx But, I want the result like 1,xxx,xxx, i.e., don't replace the first number.
Game Eiei
  • 1
  • 1
1 2 3
60
61