Skip to content

Passing decimal values to.hex() causes strange output #25

Closed
@Qix-

Description

@Qix-

Just discovered this in the rewrite of color:

Writing non-integral values will result in values such as: #3F.C00BF.4.

Just need to round everything, but super strange. Didn't realize Node would format decimals like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions