freeCodeCamp / demo-projects

Example certification projects for our programming curriculum
https://www.freecodecamp.org/learn
BSD 3-Clause "New" or "Revised" License
143 stars 90 forks source link

Update index.jsx,, changed expression from "." to "x" in multiplication #552

Open Harshan-Nayak opened 12 months ago

Harshan-Nayak commented 12 months ago

while multiplication , i changed symbol from "." to "x".

Checklist:

Closes #XXXXX

naomi-lgbt commented 12 months ago

Why the need for this change? * is a commonly used mathematical symbol for multiplication, to avoid confusion with x as a variable.

Harshan-Nayak commented 12 months ago

Why the need for this change? * is a commonly used mathematical symbol for multiplication, to avoid confusion with x as a variable.

In UI , The * symbol is shown as dot(.) , so to avoid confuion with dot(.) and multiplication , 'x' should be implemented

naomi-lgbt commented 11 months ago
image

I'm not sure those two are particularly confusing, but I'll let others weigh in. :3

Harshan-Nayak commented 11 months ago
image

I'm not sure those two are particularly confusing, but I'll let others weigh in. :3

In real world, generally we use dot(.) for decimals and 'x' for multiplication , so for better user experience it will be better to use "x", in our mobile or laptop on screen calculators we generally use 'x' as multiplying symbol.