Decimals when settings cpu/ram/disk prices

Started by andika, September 25, 2014, 07:23:31 AM

andika

Hello,

I 'am trying to set the price of $2 per Gb(1024MB) of ram using 'Edit related form element' , That means I will have to set price/ unit of 1024 , which would be 0.001953125. At this time this value is not possible to be set because decimal value is 0.01 max. I managed to change it on currency decimal settings but the away the price looks on main client area page its just to much , i.e. 7. 095. What I need is to change decimal format only on admin area or only on ''Edit related form element' . Or maybe change from MB to GB on admin area. How can I achieve that ?

Verdantphils

Hi,

Have you tried adjusting the number of decimal places in settings/currency and tax settings/storage decimal places?



andika

only on settings/currency as I dont use tax and the result is very ugly on page, i.e. 9.6000

Verdantphils

Make sure you only adjust the "Storage Decimal Places" item on that settings, leave "Display decimal Places"at 2.   That should let you enter values with more than two decimal places, try setting it to five, six or eight.   Appearance will be lto the number of decimal places you define but that will only be in in your admin area but I think the currency display in user/client areas will still show only two decimals if thats what you set in "Display decimal places". 

I have my "Storage decimal places" set to four and "Display decimal places" set at 2, in my admin area I see four decimal places but on client areas it only displays 2 decimal places.