Skip to content

Decimal not respected in Energy Reserve #135

@LEJOUI

Description

@LEJOUI

On version 4.10.1
When the strategy is put on sell and if you have decimals in your Energy Reserve, the Energy Reserve is set back to a number without decimals.

Following the function node in the sell strategy, the issue is that it rounds the value to a whole number.
For me it worked by removing the | 0 in line 3. But if you think that this has more impact, please let me know.

Image Image

to

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions