Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > ISPConfig 3 Priority Support

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 8th October 2013, 03:50
Davide Davide is offline
Senior Member
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default Billing module invoice decimal possitions

I'm getting four decimals in invoices:

10,0001 €
32,1234 €

How can I get only two decimals?
Reply With Quote
Sponsored Links
Old 8th October 2013, 10:23
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

The decimal format in the frontend is 4 decimals, the format in invoices is 2 decimals by default. Both formats are defined in the ispconfig language files.

If you use a custom pdf invoice template, then it might be that it needs to be updated to use the 2 digit dezimal format for the pdf file like it is used in the templates that are delivered with the current billing module version 1.3

If you like to change one of the decimal formats, go to System > Languages, select your languge and click on the global file (e.g. en.lng).

number_format_decimals is the one that is used in the ISPConfig interface and number_format_decimals_client is used in the pdf invoices and in the client dashboard plugins.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeradius and Mysql uvstudios HOWTO-Related Questions 4 19th February 2014 13:11
ISPConfig 3.05 RC1 & Billing Module (Debian Squeeze) agentmoller001 Installation/Configuration 2 31st December 2012 00:54
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 19:03
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 5th April 2010 00:28
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26

All times are GMT +2. The time now is 19:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.