Skip to content

Py.Var is rounding my resulting tuple of Decimals #35

@charliegenge

Description

@charliegenge

HI Eric,

I have a python function which returns a tuple of Decimals e.g.
(Decimal('4.96218411552347000000'), Decimal('4.95415534319262000000'), Decimal('4.94349678841657000000'), Decimal('4.93623882952235000000'))

When this is returned to Excel through a UDF, the Py.Var VBA function appears to round the results leaving only 4 decimal places.

Is there a way for it to return the full precision?

Thanks

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