This topic is locked

my problem 1

10/3/2008 7:05:13 AM
PHPRunner General questions
O
obiekwe author

my values were in 5 decimal in mysql (0.00050)

but after connection to phprunner

it changed it to 2 decimal point(0.00)

what should i do
what i mean is that phprunrer rounds up every of my value to 2 decimal point and i need some values in 5 decimal point.

Sergey Kornilov admin 10/3/2008

You need to open generated include/locale.php file, find this line:

$locale_info["LOCALE_IDIGITS"]="2";

and replace it with this one:

$locale_info["LOCALE_IDIGITS"]="5";

T
taumic 5/12/2009

Hi,
I have the same problem.

Is it possible to change the decimal digits in the whole phpr-system.

I don`t like to change it after every compiling (build) via PHPR.
Any idea?

Thank you !
Michael

Sergey Kornilov admin 5/12/2009

Here is how you can do this:

  1. Open C:\Program Files\PHPRunnerX.X\source\include\locale.php file in any text editor
  2. Find the following code snippet:

    locale_info##;



  3. Add the following line right after it
    $locale_info["LOCALE_IDIGITS"]="5";