Cog-Creators / Cog-Creators/Red-DiscordBot
Make user friendly references to Integer and rational number in user facing strings
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
### What component of Red (cog, command, API) would you like to see improvements on?
All
### Describe the enhancement you're suggesting.
Float is currently referenced as "number"
and Int is currently referenced as "Integer"
Integer is not widely used outside of the maths and science fields, and for common speech (informal) it is refferenced as "Whole number" whereas float is while referenced to as a "decimal number" due to the decimal place.
The current reference of float is misleading at best.
We should ensure consistent reference to these are made.
"Whole number" is a colloquial term in mathematics which is tought in schools (Since 1950 as part of the New Math movement in the US)
What I would suggest due to the target audience of red is the following:
Positive only float - Positive decimal number (>=0)
Negative only float - Negative decimal number (<=-1)
Any float - Decimal number
Positive int - Positive whole number (>=0)
Negative int - Negative whole number (<=-1)
Any int - Whole number
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.