Skip to content

Leading zero removed when using cell reference #112

Open

Description

@shusaku-ishikawa

First of all, thank you for creating and maintaining this great library! I really appreciate your hard work and the effort you put into making this project so useful.

When referencing another cell, if the referenced cell contains a numeric string like "0100",
the value is automatically converted to "100" (removing the leading zero).

Is there an argument flag to prevent this behavior?

Image

Activity

  1. dimastbk commented on Feb 12, 2025

    @dimastbk
    Owner

    Hi! Could you provide a example file?

  2. shusaku-ishikawa commented on Feb 13, 2025

    @shusaku-ishikawa
    Author

    Thank you for the reply.

    Here is the sample file.
    When I read the rows from Sheet2, they return string values as is.
    However, when I read Sheet1 (which references cells from Sheet2), it returns float values.

    sample.xlsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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