You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-09-22 12:16:46

ldakvn1
Member
Registered: 2008-09-19
Posts: 11

Contract Cost

Hi Everyone,

I tried to add Contract, and off course input their cost as well.

However, if I put high number such as 2.780.231 $, then it will show 2.7803E+6 (something like that).

How can I force it shows 2780231 exactly.

Thanks,

Offline

#2 2008-09-22 23:24:45

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Contract Cost

Use this Mysql comand :

ALTER TABLE `glpi_contracts` CHANGE `cost` `cost` DECIMAL( 20, 4 ) NOT NULL DEFAULT '0.0000'


The next version of GLPI would include this patch


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2008-09-23 02:36:05

ldakvn1
Member
Registered: 2008-09-19
Posts: 11

Re: Contract Cost

Thanks, I followed up with your instruction.

Now it seems to be correct except it show 4 digit .0000 after every cost.

Please help

Offline

#4 2008-09-23 04:24:10

ldakvn1
Member
Registered: 2008-09-19
Posts: 11

Re: Contract Cost

I fixed it myself by changing in mySQL database.

Thanks

Offline

#5 2008-09-24 00:14:07

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Contract Cost

I close


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB