Skip to content

'float' object has no attribute 'to' #468

@serrapha

Description

@serrapha

When trying to use the command inst.setpoint = 31.0, I receive:

value = int(round(value.to("degC").magnitude * 10, 0)) 

AttributeError: 'float' object has no attribute 'to'

I'm currently using NumPy 1.26.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions