[Spce-user] carrier accounting

Daniel Tiefnig dtiefnig at sipwise.com
Thu Nov 8 13:05:01 EST 2012

On 06/27/2012 10:31 AM, Skyler wrote:
> Hi,


sorry, have to dig up this old mailing:

> In addition, I also noticed that a long digit/decimal number was not
> displaying correctly in 'edit billing fees' within www-admin. 
> Example, a number enterd like 0.00349999998 would be shown as 
> 5.5555555555-e8.

Did it really return 5.5555555555-e8 for 0.00349999998? Or were these
possibly two different examples? And can you still trigger that error?

> I looked into the DB and all looked fine, though I had to reapply the
> DOUBLE type to fix this.

I can only reproduce this with 0.000034 which is returned as 3.4e-05.
But that's actually fine. And even more, it is also stored that way in
the database. Entering 0.00349999998 does not cause it to change the
number format.


More information about the Spce-user mailing list