[Freeswitch-users] billmsec and billsec round

morfair at gmail.com morfair at gmail.com
Mon Apr 15 07:57:23 UTC 2019


yes!! it's really!!

I have more other rows with wrong round.


14.04.2019 00:41, Giovanni Maruzzelli пишет:
> Morfair (OP),
>
> can you please double check you actually got crazy roundings like 7 7820?
>
> -giovanni
>
> On Sat, Apr 13, 2019 at 10:29 PM Михаил Калинин <morfair at gmail.com 
> <mailto:morfair at gmail.com>> wrote:
>
>     yes. it's crazy
>
>     сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli
>     <gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>>:
>
>         7 7820 ????
>
>
>
>         On Sat, Apr 13, 2019, 04:06 Faisal Hanif <imfanee at gmail.com
>         <mailto:imfanee at gmail.com>> wrote:
>
>             if remainder is 4 or plus.
>
>             On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli
>             <gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>> wrote:
>
>
>
>                 On Sat, Apr 13, 2019, 03:26 Faisal Hanif
>                 <imfanee at gmail.com <mailto:imfanee at gmail.com>> wrote:
>
>                     It simply dividing billmsec by 1000 and then
>                     rounding it by general math rule so ideally you
>                     can use billsec for billing but if you need more
>                     precision you can use billmsec and decide by 1000
>                     by your code.
>
>
>                 Maybe you have not paid attention to the example given...
>
>
>
>
>
>
>
>
>
>                     On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com
>                     <mailto:morfair at gmail.com> <morfair at gmail.com
>                     <mailto:morfair at gmail.com>> wrote:
>
>                         Hello all!
>
>                         Help please with billsec variable, how to it
>                         calculate? In my accounting
>                         store I have a sets:
>
>                         billsec; billmsec
>
>                         7    7820
>
>                         7    7360
>
>                         33    33360
>
>                         38    38020
>
>                         59    58900
>
>                         26    25840
>
>                         87    86400
>
>
>                         How to calculate billsec? What algorithm is
>                         used for round billmsec?
>
>                         P.S.: Sorry for my English.
>
>
>                         _________________________________________________________________________
>                         Professional FreeSWITCH Services
>                         sales at freeswitch.com <mailto:sales at freeswitch.com>
>                         https://freeswitch.com
>
>                         Official FreeSWITCH Sites
>                         https://freeswitch.com/oss
>                         https://freeswitch.org/confluence
>                         https://cluecon.com
>
>                         FreeSWITCH-users mailing list
>                         FreeSWITCH-users at lists.freeswitch.org
>                         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>                         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>                         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>                         https://freeswitch.com
>
>                     _________________________________________________________________________
>                     Professional FreeSWITCH Services
>                     sales at freeswitch.com <mailto:sales at freeswitch.com>
>                     https://freeswitch.com
>
>                     Official FreeSWITCH Sites
>                     https://freeswitch.com/oss
>                     https://freeswitch.org/confluence
>                     https://cluecon.com
>
>                     FreeSWITCH-users mailing list
>                     FreeSWITCH-users at lists.freeswitch.org
>                     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>                     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>                     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>                     https://freeswitch.com
>
>                 _________________________________________________________________________
>                 Professional FreeSWITCH Services
>                 sales at freeswitch.com <mailto:sales at freeswitch.com>
>                 https://freeswitch.com
>
>                 Official FreeSWITCH Sites
>                 https://freeswitch.com/oss
>                 https://freeswitch.org/confluence
>                 https://cluecon.com
>
>                 FreeSWITCH-users mailing list
>                 FreeSWITCH-users at lists.freeswitch.org
>                 <mailto:FreeSWITCH-users at lists.freeswitch.org>
>                 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>                 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>                 https://freeswitch.com
>
>             _________________________________________________________________________
>             Professional FreeSWITCH Services
>             sales at freeswitch.com <mailto:sales at freeswitch.com>
>             https://freeswitch.com
>
>             Official FreeSWITCH Sites
>             https://freeswitch.com/oss
>             https://freeswitch.org/confluence
>             https://cluecon.com
>
>             FreeSWITCH-users mailing list
>             FreeSWITCH-users at lists.freeswitch.org
>             <mailto:FreeSWITCH-users at lists.freeswitch.org>
>             http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>             UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>             https://freeswitch.com
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Services
>         sales at freeswitch.com <mailto:sales at freeswitch.com>
>         https://freeswitch.com
>
>         Official FreeSWITCH Sites
>         https://freeswitch.com/oss
>         https://freeswitch.org/confluence
>         https://cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         https://freeswitch.com
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Services
>     sales at freeswitch.com <mailto:sales at freeswitch.com>
>     https://freeswitch.com
>
>     Official FreeSWITCH Sites
>     https://freeswitch.com/oss
>     https://freeswitch.org/confluence
>     https://cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     https://freeswitch.com
>
>
>
> -- 
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190415/ef7cd269/attachment-0001.html>


More information about the FreeSWITCH-users mailing list