Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample rates precision problem #53

Open
shouya opened this issue May 27, 2020 · 0 comments
Open

Sample rates precision problem #53

shouya opened this issue May 27, 2020 · 0 comments

Comments

@shouya
Copy link

shouya commented May 27, 2020

Hi I found this issue where having a sample rate of 0.001 will turns out equivalent to sending sample rate as 0.0. It was caused by the following segment of code:

[packet | ["|@", :erlang.float_to_binary(sample_rate, [:compact, decimals: 2])]]

There is no way to circumvent this limit from the user side. Should we perhaps raise the number of digits preserved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant