From @tekwizz123 on github at Proposed PR for floating point explanation on Ruby Assembly Line exercise.
A floating point number has at least one number after the decimal point, not zero or more.
This explanation conflicts with the integers explanation which states its “numbers with no digits behind the decimal separator”.
The proposed patch is:
commit f19d8635eee8b837954b5069bb263a57f9294ff6
Author: Grant Willcox <tekwizz123@users.noreply.github.com>
Date: Mon Jan 16 13:34:16 2023 -0600
Update explanation of floating point numbers to explain decimal points better
A floating point number has at least one number after the decimal point, not zero or more.
This explanation conflicts with the integers explanation which states its "numbers with no digits behind the decimal separator".
diff --git a/exercises/concept/assembly-line/.docs/introduction.md b/exercises/concept/assembly-line/.docs/introduction.md
index fd254f5f..5fd0b26f 100644
--- a/exercises/concept/assembly-line/.docs/introduction.md
+++ b/exercises/concept/assembly-line/.docs/introduction.md
@@ -5,7 +5,7 @@
The two most common types of numbers in Ruby are:
- **Integers:** numbers with no digits behind the decimal separator (whole numbers). Examples are `-6`, `0`, `1`, `25`, `976` and `500000`.
-- **Floating-point numbers:** numbers with zero or more digits behind the decimal separator. Examples are `-2.4`, `0.1`, `3.14`, `16.984025` and `1024.0`.
+- **Floating-point numbers:** numbers with one or more digits behind the decimal separator. Examples are `-2.4`, `0.1`, `3.14`, `16.984025` and `1024.0`.
They are implemented through the `Integer` and `Float` classes.