Percentages
#323
Replies: 1 comment 1 reply
-
Option 2 "Make ::Percent contain u8 between 0 and 100 instead of f32." won't work as:
But we should definitely improve the documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So i just got help from a discussion here and learned that any
::Percent
should be as values between0.0
and1.0
. (that explains why it is a f32 lol).So I just want to "throw out" 2 ideas in the world:
::Percent
doc that it should be a value between0.0
and1.0
::Percent
containu8
between0
and100
instead off32
.Both things would clear up confusion. Feedback welcome :)
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions