Open
Description
This code produces rounded output:
tinycolor('rgb(255, 25.5, 0)').toRgb();
// {r: 255, g: 26, b: 0, a: 1}
25.5
was rounded to 26
.
Is the rounding intentional?
See this PR which adds a failing unit test: #277
Metadata
Metadata
Assignees
Labels
No labels