Skip to content

Compose Format Document rounds big numbers #135

@NLZ

Description

@NLZ

Let's say I have this (fake for the example) key-value in my compose.yaml:

environment:
  discord_id: 1147053346671102335

When I select Format Document it will round 1147053346671102335 to 1147053346671102300, which I don't think I need to explain why is bad.

Of course I can quote it to make into a string, but was blindsided by this behavior, would be nice to save others from it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions