Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Bugs > Topic : decimals for resource pricing



Threaded Mode | Print  

 decimals for resource pricing (2 Replies, Read 8827 times)
fhcardoso
Group: Member
Post Group: Newbie
Posts: 2
Status:
In the documentation there is an example that shows the use of more decimals, but in the interface only step=0.01 is allowed.

I managed to get around by modifying the html and placing 6 decimals.

Ideally, at least 6 decimals should be used for the hourly price.
A VPS for example $5 per month is $0.006944 per hour.

The same problem is when to define the price per resource.
The price of RAM, CPU etc ...

See the attachments;

I modified this validation in the html and managed to update the information to 6 decimals, but I'm not sure if it will correctly calculate the hourly price or if it will round to 0.01
IP: --   

decimals for resource pricing
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,

We have replied in your ticket and provide few files and now you can add up to 3 decimals.

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

decimals for resource pricing
radwebhosting
Group: NOC
Post Group: Working Newbie
Posts: 50
Status:
I also agree since the resources are calculated in 1 GB integrals at hourly integrals. In USD, a 10GB storage would be $7.30/mo when based on the least possible assigned cost $0.001 during a month that has ~730 hours.

Now, we would much prefer to charge our users less for this amount of disk.

I imagine there might be other currencies also, where 3 decimal places is unsuitable.

Edited by radwebhosting : Today at 3:49 pm

-----------------------
Rad Web Hosting - Dallas, TX | Phoenix, AZ
KVM VPS - Dedicated Servers - Colocation
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 10:26 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.020