Stream pay log error

alt=
duke
@musamensa
7 years ago
253 posts
some logs on the stream pay module are displaying 3.2E-5 next to the streamed item on the 'amount' column .
updated by @musamensa: 05/07/17 02:07:44PM
brian
@brian
7 years ago
10,148 posts
duke:
some logs on the stream pay module are displaying 3.2E-5 next to the streamed item on the 'amount' column .

I will check this out - thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
7 years ago
10,148 posts
What do you have your payout values set to so I can try to replicate this here.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
duke
@musamensa
7 years ago
253 posts
0.010
brian
@brian
7 years ago
10,148 posts
Remove the trailing zero - there's no need for it - make it:

0.01

I will check it out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
7 years ago
10,148 posts
And just to be sure you know that the config number is in CENTS. So "0.01" is one one hundredth of 1 cent for a play - just an FYI.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
7 years ago
10,148 posts
I'm not seeing an issue here with it set to 0.01 - see screenshot.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
duke
@musamensa
7 years ago
253 posts
@brian i am still getting the same log error 3.2E-5 i have set the figure to 1 and still got this error
brian
@brian
7 years ago
10,148 posts
duke:
@brian i am still getting the same log error 3.2E-5 i have set the figure to 1 and still got this error

Yeah doesn't make any sense. What version of PHP are you using?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
duke
@musamensa
7 years ago
253 posts
php version 5.3.29
brian
@brian
7 years ago
10,148 posts
The latest version of the module has some code in it to "force" the number of places after the decimal - try it and let me know if that looks better.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags