Skip to content

Unexplained behaviour when using .prefix("") #253

@KY9941

Description

@KY9941

Hello,

I am trying to force a variable 'l' into units of m by using .prefix("unity").

In the first image, you can see the calculation of F_st,90 carried out using the 'unprefixed' value of 'l' which is in units of mm. F_st,90 has final units of N as expected.

In the second image, the calculation is carried out with the 'prefixed' value of 'l' which is in units of m. However, F_st,90 now has final units of Pa for some reason. This then causes an error in the rest of the code since the units are not N as required.

Does anybody have any idea why this issue occurs and if there is any way I can avoid it?

Image Image 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